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