Class: WwrkGreet

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

Defined Under Namespace

Classes: Translator

Class Method Summary collapse

Class Method Details

.greet(language = "english") ⇒ Object



3
4
5
6
# File 'lib/wwrkgreet.rb', line 3

def greet(language = "english")
  translator = Translator.new(language)
  translator.greet
end