lib/codebreaker/output.rb in codebreaker_kub-0.1.2 vs lib/codebreaker/output.rb in codebreaker_kub-0.1.3

- old
+ new

@@ -1,9 +1,10 @@ module Codebreaker class Output def initialize I18n.load_path << Dir[File.expand_path('./lib/codebreaker/data/locales') + '/*.yml'] + I18n.config.available_locales = :en end def greeting puts I18n.t(:hey) end @@ -65,10 +66,10 @@ def save_result puts I18n.t(:save_result) end def goodbye - I18n(:goodbye) + puts I18n.t(:goodbye) end def game_over puts I18n.t(:game_over) end