class FirstRubyGem

The mail first ruby gem

Public Class Methods

hello(language = 'english') click to toggle source

Say hi to the world!

Example:

>> FirstRubyGem.hello("chinese")
=> 你好, ruby gem!

Arguments:

language: (String)
# File lib/first_ruby_gem.rb, line 11
def self.hello(language = 'english')
  translator = Translator.new(language)
  translator.hello
end