Sha256: b3a1d91c6ce16cb1a0cb95c67d975392b38668d162abad8f1a871d0d6ba09e32

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

# 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

1 entries across 1 versions & 1 rubygems

Version Path
hola_dunstontc-0.0.5 lib/hola.rb