Sha256: ca9c64cd90b43b91f2b0d8130aa0144a1e4043bbc124791ad8570c31190122b4

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

# The main Hola driver
class Hola
	# Say hi to the world!
	#
	# Example:
	#   >> Hola.hi("japanese")
	#   => おはよう世界
	#
	# 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 & 1 rubygems

Version Path
hola_ja-2.0.0 lib/hola.rb
hola_ja-1.0.0 lib/hola.rb