Class: Hola

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

Overview

The main Hola driver

Class Method Summary collapse

Class Method Details

.hi(language = 'english') ⇒ Object

Say hi to the world!

Example:

>> Hola.hi("spanish")
=> hola mundo

Arguments:

language: (String)


14
15
16
17
# File 'lib/hola_asoesilo.rb', line 14

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