class Translator

Public Class Methods

new(language) click to toggle source
# File lib/suhpreme_hola/translator.rb, line 3
def initialize(language)
        @language = language
end

Public Instance Methods

hi() click to toggle source
# File lib/suhpreme_hola/translator.rb, line 7
def hi
        if (@language == 'english')
                puts "Hello world!!";
        elsif (@language == 'korean')
                puts "안녕하세요.";
        else
                puts "Hello world....";
        end
end