Class: Capistrano::Slacky::Facade::Exception
- Inherits:
-
Block::Context
- Object
- Block::Context
- Capistrano::Slacky::Facade::Exception
- Defined in:
- lib/capistrano/slacky/facade/exception.rb
Instance Method Summary collapse
-
#initialize(exception: $ERROR_INFO) ⇒ Exception
constructor
A new instance of Exception.
Methods inherited from Block::Context
Constructor Details
#initialize(exception: $ERROR_INFO) ⇒ Exception
Returns a new instance of Exception.
15 16 17 18 19 |
# File 'lib/capistrano/slacky/facade/exception.rb', line 15 def initialize(exception: $ERROR_INFO) super( (exception || DefaultException.new). ) end |