Sha256: a62cdb492d768d884ef4da9498dd0f8a60a5f010410e3c192f3cdc078598c0e9

Contents?: true

Size: 195 Bytes

Versions: 2

Compression:

Stored size: 195 Bytes

Contents

class Hola::Translator
  def initialize(language)
    @language = language
  end

  def hi
    case @language
    when 'spanish'
      'hola mundo'
    else
      'hello world'
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
hola_dunstontc-0.0.5 lib/hola/translator.rb
hola_spenser-0.0.5 lib/hola_spenser/translator.rb