Class: Hello
- Inherits:
-
Object
- Object
- Hello
- Defined in:
- lib/hello.rb
Overview
The main Hello driver
Class Method Summary collapse
-
.hi(language = "indonesia") ⇒ Object
Say hi to the world!.
Class Method Details
.hi(language = "indonesia") ⇒ Object
Say hi to the world!
Example:
>> Hello.hi("indonesia")
=> haloo dunia!
Arguments:
language: (String)
11 12 13 14 |
# File 'lib/hello.rb', line 11 def self.hi(language = "indonesia") translator = Translator.new(language) translator.hi end |