Class: Hola

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

Overview

The main Simplytech Hola driver

Defined Under Namespace

Classes: Translator

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)


13
14
15
16
# File 'lib/simplytech_hola.rb', line 13

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