class Hola::Translator def initialize(language) @language = language end def hi case @language when "spanish" "hola mundo" when "swedish chef" "bork bork world" else "hello world" end end end