Class: Hola
- Inherits:
-
Object
- Object
- Hola
- Defined in:
- lib/hola.rb
Overview
The main Hola drive
Class Method Summary collapse
-
.hi(language = "english") ⇒ Object
say hi to the whole world!.
Class Method Details
.hi(language = "english") ⇒ Object
say hi to the whole world!
example:
>> Hola.hi("spanish")
=> hola mundo
Arguments:
language: (String)
13 14 15 16 |
# File 'lib/hola.rb', line 13 def self.hi(language = "english") translator = Translator.new(language) translator.hi end |