Class: FirstRubyGem
- Inherits:
-
Object
- Object
- FirstRubyGem
- Defined in:
- lib/first_ruby_gem.rb
Overview
The mail first ruby gem
Defined Under Namespace
Classes: Translator
Class Method Summary collapse
-
.hello(language = 'english') ⇒ Object
Say hi to the world!.
Class Method Details
.hello(language = 'english') ⇒ Object
Say hi to the world!
Example:
>> FirstRubyGem.hello("chinese")
=>
Arguments:
language: (String)
11 12 13 14 |
# File 'lib/first_ruby_gem.rb', line 11 def self.hello(language = 'english') translator = Translator.new(language) translator.hello end |