Class: Namasthe

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

Defined Under Namespace

Classes: Translator

Class Method Summary collapse

Class Method Details

.hi(language = "indian") ⇒ Object

Say hi to the world!

Example:

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

Arguments:

language: (String)


10
11
12
13
# File 'lib/namasthe.rb', line 10

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