Class: Switchman::Parallel::QuietExceptionWrapper
- Inherits:
-
Object
- Object
- Switchman::Parallel::QuietExceptionWrapper
- Defined in:
- lib/switchman/parallel.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #exception ⇒ Object
-
#initialize(name, wrapper) ⇒ QuietExceptionWrapper
constructor
A new instance of QuietExceptionWrapper.
Constructor Details
#initialize(name, wrapper) ⇒ QuietExceptionWrapper
Returns a new instance of QuietExceptionWrapper.
18 19 20 21 |
# File 'lib/switchman/parallel.rb', line 18 def initialize(name, wrapper) @name = name @wrapper = wrapper end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/switchman/parallel.rb', line 16 def name @name end |
Instance Method Details
#exception ⇒ Object
23 24 25 |
# File 'lib/switchman/parallel.rb', line 23 def exception @wrapper.exception end |