Method: Console::Event::Failure#initialize
- Defined in:
- lib/console/event/failure.rb
#initialize(exception, root = self.class.default_root) ⇒ Failure
Create a new failure event for the given exception.
56 57 58 59 |
# File 'lib/console/event/failure.rb', line 56 def initialize(exception, root = self.class.default_root) @exception = exception @root = root end |