Sha256: dcd59851e43a3fb59cf80f74af255b6362ae13073ab7cd3e7ed5155022631ee6

Contents?: true

Size: 189 Bytes

Versions: 2

Compression:

Stored size: 189 Bytes

Contents

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

  def hi
    case @language
    when "hindi"
      "namaste log"
    else
      "howdy people"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hola_tk-0.0.5 lib/hola/translator.rb
hola_tk-0.0.4 lib/hola/translator.rb