Method: Translate::Translation#print_errors

Defined in:
lib/translate.rb

Only used when translate is called from command line. Print errors in the shell.



135
136
137
138
139
# File 'lib/translate.rb', line 135

def print_errors
  puts @errors.inject("Some errors encountered :") { |str, e|
    str += "\n\t- #{e}"
  }
end