lib/translate.rb
# Only used when translate is called from command line.
# Call the above methods to show results.
Only used when translate is called from command line.
Call the above methods to show results.
Only used when translate is called from command line . Call the above methods to show results .
def translate
		trap(:INT) { puts "Bye." ; exit }
		translation = parse_command_line
		translation.translate
		translation.errors.empty? ? translation.print : translation.print_errors
	end
def translate trap ( :INT ) { puts "Bye." ; exit } translation = parse_command_line translation . translate translation . errors . empty? ? translation . print : translation . print_errors end
Only used when translate is called from command line.
Only used when translate is called from command line .