Class: FuzzBert::Handler::Console
- Inherits:
-
Object
- Object
- FuzzBert::Handler::Console
- Includes:
- ConsoleHelper
- Defined in:
- lib/fuzzbert/error_handler.rb
Instance Method Summary collapse
- #handle(error_data) ⇒ Object
-
#initialize ⇒ Console
constructor
A new instance of Console.
Methods included from ConsoleHelper
Constructor Details
#initialize ⇒ Console
Returns a new instance of Console.
58 59 60 |
# File 'lib/fuzzbert/error_handler.rb', line 58 def initialize $stdout.sync = true end |
Instance Method Details
#handle(error_data) ⇒ Object
62 63 64 65 |
# File 'lib/fuzzbert/error_handler.rb', line 62 def handle(error_data) puts "#{error_data[:id]} failed. Data: #{error_data[:data].inspect}" info(error_data) end |