Class: CodebreakerGem::OutputHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/app/helpers/output_helper.rb

Direct Known Subclasses

Failing, Output

Instance Method Summary collapse

Instance Method Details

#display(argument) ⇒ Object



9
10
11
# File 'lib/app/helpers/output_helper.rb', line 9

def display(argument)
  puts argument
end

#get(section, message, *parameters) ⇒ Object



5
6
7
# File 'lib/app/helpers/output_helper.rb', line 5

def get(section, message, *parameters)
  I18n.t(translation_access(section, message), *parameters)
end