class Intermediator::Translator
Public Class Methods
new(language)
click to toggle source
# File lib/intermediator/translator.rb, line 2 def initialize(language) @language = language end
Public Instance Methods
output()
click to toggle source
# File lib/intermediator/translator.rb, line 6 def output case @language when "spanish" "prueba" else "test" end end