Class: Hola

Inherits:
Object
  • Object
show all
Defined in:
lib/hola_reyesyang.rb

Class Method Summary collapse

Class Method Details

.hi(language = :english) ⇒ Object



2
3
4
5
# File 'lib/hola_reyesyang.rb', line 2

def self.hi(language = :english)
  translator = Translator.new(language)
  translator.hi
end