Class: Hola_delta

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

Overview

The main Hola_delta dirver

Defined Under Namespace

Classes: Translator

Class Method Summary collapse

Class Method Details

.hi(language = "english") ⇒ Object

Say hi to the world!

Example:

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

Arguments:
  language: (String)


12
13
14
15
# File 'lib/hola_delta.rb', line 12

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