class HelloMilind::Translator
Public Class Methods
new(language)
click to toggle source
# File lib/hello_milind.rb, line 10 def initialize(language) @language = language end
Public Instance Methods
hi()
click to toggle source
# File lib/hello_milind.rb, line 14 def hi case @language when "spanish" "¡Hola a todos! Milind aquí! Esta es mi primera joya!" when "hindi" "नमस्ते! यहाँ मिलिंद! यह मेरा पहला रत्न है!" when "japanese" "こんにちは、みんな!ここに本部Milind!これが私の最初の逸品です!" when "dutch" "Dag Allemaal! Milind hier! Dit is mijn eerste juweeltje!" else "Hi All! Milind Here! This is my first gem!" end end