Class: Hello

Inherits:
Object
  • Object
show all
Defined in:
lib/hello.rb

Overview

The main Hello driver

Class Method Summary collapse

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