Sha256: 2b3e9945d7fd4b42d47076789caaeca7793e9f27618d232f7c05594f2658e3b7
Contents?: true
Size: 256 Bytes
Versions: 4
Compression:
Stored size: 256 Bytes
Contents
class Softledger::Translator def initialize(language = "english") @language = language end def hi case @language when "spanish" "hola mundo" when "korean" "anyoung ha se yo" else "hello world" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
softledger-0.0.5 | lib/softledger/translator.rb |
softledger-0.0.4 | lib/softledger/translator.rb |
softledger-0.0.3 | lib/softledger/translator.rb |
softledger-0.0.1 | lib/softledger/translator.rb |