Class: Hello
- Inherits:
-
Object
- Object
- Hello
- Defined in:
- lib/hello-ebola.rb
Overview
The main Hello driver
Defined Under Namespace
Classes: Translator
Class Method Summary collapse
-
.hi(language = 'english') ⇒ Object
Say hi to the world!.
Class Method Details
.hi(language = 'english') ⇒ Object
Say hi to the world!
Example:
>> Hello.hi("english")
=> Hello ebola world!
Arguments:
language: (String)
13 14 15 16 |
# File 'lib/hello-ebola.rb', line 13 def self.hi(language = 'english') translator = Translator.new(language) translator.hi end |