lib/translate.rb
# Only used when translate is called from command line.
# Print errors in the shell.
Only used when translate is called from command line.
Print errors in the shell.
Only used when translate is called from command line . Print errors in the shell .
def print_errors
			puts @errors.inject("Some errors encountered :") { |str, e|
				str += "\n\t- #{e}"
			}
		end
def print_errors puts @errors . inject ( "Some errors encountered :" ) { | str , e | str += "\n\t- #{e}" } end
Only used when translate is called from command line.
Only used when translate is called from command line .