.strip ;-)
This commit is contained in:
parent
77a0159600
commit
5721d37864
|
@ -14,7 +14,7 @@ module QuestionGenerator
|
||||||
|
|
||||||
def self.generate(locale = @default_locale)
|
def self.generate(locale = @default_locale)
|
||||||
questions = YAML.load_file(File.expand_path("#{locale.to_s}.yml", @question_base_path))
|
questions = YAML.load_file(File.expand_path("#{locale.to_s}.yml", @question_base_path))
|
||||||
"#{get_question(questions)}?"
|
"#{get_question(questions).strip}?"
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue