Class: Hola
- Inherits:
-
Object
- Object
- Hola
- Defined in:
- lib/hola_asoesilo.rb
Overview
The main Hola driver
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)
14 15 16 17 |
# File 'lib/hola_asoesilo.rb', line 14 def self.hi(language = 'english') translator = Translator.new(language) translator.hi end |