Class: Holadobo
- Inherits:
-
Object
- Object
- Holadobo
- Defined in:
- lib/holadobo.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:
>> Holadobo.hi("spanish")
=> hola mundo
Arguments:
language: (String)
11 12 13 14 |
# File 'lib/holadobo.rb', line 11 def self.hi(language = english) translator = Translator.new(language.to_sym) translator.hi end |