Module: Rubycom::ErrorHandler
- Defined in:
- lib/rubycom/error_handler.rb
Class Method Summary collapse
-
.handle_error(e, cli_output) ⇒ Object
Prints the error followed by the command line interface text.
Class Method Details
.handle_error(e, cli_output) ⇒ Object
Prints the error followed by the command line interface text
8 9 10 11 12 |
# File 'lib/rubycom/error_handler.rb', line 8 def self.handle_error(e, cli_output) $stderr.puts e $stderr.puts $stderr.puts cli_output end |