class Hola
The main Hola
driver
Public Class Methods
hi(language = "english")
click to toggle source
Say hi to the world!
Example:
>> Hola.hi("spanish") => hola mundo
Arguments:
language: (String)
# File lib/hola_ismaelmedeiros.rb, line 12 def self.hi(language = "english") translator = Translator.new(language) translator.hi end
Protected Class Methods
hello()
click to toggle source
Say Hello to the world!
Example:
>> Hola.hello => Hello World
# File lib/hola_ismaelmedeiros.rb, line 23 def self.hello puts "Hello World" end
Private Instance Methods
hello2()
click to toggle source
Say Hello to the god!
Example:
>> instance.hello2 => Hello God
# File lib/hola_ismaelmedeiros.rb, line 33 def hello2 puts "Hello God" end