Sha256: 18e96729c1652332882a1070ea7d51ba554fad0338a292bda7e48088005e9849

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

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

    def hi
        case @language
        when "spanish"
            "hola mundo"
        else
            "hello world"
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
helloBD-1.0.0 lib/hello/translator.rb