lib/hola_galfus.rb in hola_galfus-0.0.3 vs lib/hola_galfus.rb in hola_galfus-0.0.4
- old
+ new
@@ -4,9 +4,10 @@
# Example:
# >> Hola.hi("spanish")
# => hola mundo
#
# @attr [String] language Translation language
+ # @return [String]
def self.hi(language = "english")
translator = Translator.new(language)
translator.hi
end
end