Class: Xinchao
- Inherits:
-
Object
- Object
- Xinchao
- Defined in:
- lib/xinchao.rb
Defined Under Namespace
Classes: Translator
Class Method Summary collapse
-
.hi(language = 'english') ⇒ Object
Say hi to the world!.
Class Method Details
.hi(language = 'english') ⇒ Object
Say hi to the world!
Example:
>> Hola.hi("spanish")
=> hola mundo
Arguments:
language: (String)
12 13 14 15 |
# File 'lib/xinchao.rb', line 12 def hi language = 'english' translator = Translator.new language translator.hi end |