Sha256: 9fc244d26dce4bfdcf5954df8c665c8f42d2886b8e167ff0498ba174b3a65826
Contents?: true
Size: 348 Bytes
Versions: 1
Compression:
Stored size: 348 Bytes
Contents
# encoding: UTF-8 class Hola::Translator def initialize(language = "english") @language = language end def hi case @language when "spanish" "hola mundo" when "korean" "anyoung ha se yo" when "dutch" "hallo wereld" when "polish" "witaj świecie" else "hello world" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hola-ianh-0.0.4 | lib/hola/translator.rb |