lib/hola/translator.rb in hola_vaibhav-1.2.4 vs lib/hola/translator.rb in hola_vaibhav-1.6.4

- old
+ new

@@ -1,14 +1,16 @@ class Hola::Translator - def initialize(language) + def initialize(language = "english") @language = language end def hi case @language when "spanish" "hola mundo" + when "korean" + "anyoung ha se yo" else "hello world" end end -end \ No newline at end of file +end