Class: HolaPhp
- Inherits:
-
Object
- Object
- HolaPhp
- Defined in:
- lib/hola_php.rb
Overview
The main HolaPhp 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:
>> HolaPhp.hi("spanish")
=> hola mundo
Arguments:
language: (String)
12 13 14 15 |
# File 'lib/hola_php.rb', line 12 def self.hi(language = "english") translator = Translator.new(language) translator.hi end |