class Gvg::Hello
A multi-lingual hello class to say hello in multiple languages.
Public Class Methods
hi(language = "english")
click to toggle source
Say hi to the world!
Example:
>> Hola.hi("spanish")
Arguments:
language: (String)
# File lib/gvg/hello.rb, line 11 def self.hi(language = "english") translator = Translator.new(language) translator.hi end