Class: Namasthe
- Inherits:
-
Object
- Object
- Namasthe
- Defined in:
- lib/namasthe.rb
Defined Under Namespace
Classes: Translator
Class Method Summary collapse
-
.hi(language = "indian") ⇒ Object
Say hi to the world!.
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 |