lib/hola_galfus.rb in hola_galfus-0.0.1 vs lib/hola_galfus.rb in hola_galfus-0.0.2
- old
+ new
@@ -1,5 +1,13 @@
class Hola
+ # Say hi to the world!
+ #
+ # Example:
+ # >> Hola.hi("spanish")
+ # => hola mundo
+ #
+ # Arguments:
+ # language: (String)
def self.hi(language = "english")
translator = Translator.new(language)
translator.hi
end
end