.strip ;-)

This commit is contained in:
nilsding 2014-12-12 14:07:35 +01:00
parent 77a0159600
commit 5721d37864
1 changed files with 1 additions and 1 deletions

View File

@ -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