Sha256: 0dbe90ff7589449af9e90f676066565efed92dbebceef0c7b38be718b1e97c01

Contents?: true

Size: 199 Bytes

Versions: 1

Compression:

Stored size: 199 Bytes

Contents

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

  def hi
  	case @language
  	when "chinese"
  		"你好世界"
  	else
  		"hello world"
  	end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
how_i_start-greyby-1.0.0 lib/how_i_start/translator.rb