Class: Aloh

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

Class Method Summary collapse

Class Method Details

.hi(language = "english") ⇒ Object

Say hi to the world!

Example: >> Aloh.hi(“spanish”)

> aloh mundo

Arguments: language: (String)



11
12
13
14
# File 'lib/aloh.rb', line 11

def self.hi(language = "english")
  translator = Translator.new(language)
  translator.hi
end