Class: Ruby2Jar::Console
Overview
Command line interface for builder. Check builder parameters and print error and warnings to console.
Instance Method Summary collapse
-
#on_error(error) ⇒ Object
Print message for standart builder error.
Methods inherited from Listener
Constructor Details
This class inherits a constructor from Ruby2Jar::Listener
Instance Method Details
#on_error(error) ⇒ Object
Print message for standart builder error
25 26 27 28 29 30 31 32 |
# File 'lib/ruby2jar/console.rb', line 25 def on_error(error) if Error == error.class STDERR.puts "ERROR: #{error.}" true else false end end |