Sha256: 94c2a57e53b623fb8e999c4561206cb4bd0f6fc57f1624e6497d7d06c4071c1b

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

# The main Hola driver
class Hola
  # Say hi to the world!
  #
  # Example:
  #   >> Hola.hi("spanish")
  #   => hola mundo
  #
  # Arguments:
  #   language: (String)

  def self.hi(language = "english")
    translator = Translator.new(language)
    translator.hi
  end
end

require 'hola/translator'

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
hola_hunt-0.0.3 lib/hola.rb
hola_kamihara-0.0.3 lib/hola.rb