Sha256: e1c874729fe923014d060421f59303d308539dfcc61efe23ccfdc778a24a3b0f

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem_tutorial_kcheung-0.0.1 lib/gem_tutorial_kcheung/translator.rb