Class: Switchman::Parallel::UndumpableResult
- Inherits:
-
Object
- Object
- Switchman::Parallel::UndumpableResult
- Defined in:
- lib/switchman/parallel.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(result) ⇒ UndumpableResult
constructor
A new instance of UndumpableResult.
- #inspect ⇒ Object
Constructor Details
#initialize(result) ⇒ UndumpableResult
Returns a new instance of UndumpableResult.
31 32 33 |
# File 'lib/switchman/parallel.rb', line 31 def initialize(result) @name = result.inspect end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
29 30 31 |
# File 'lib/switchman/parallel.rb', line 29 def name @name end |
Instance Method Details
#inspect ⇒ Object
35 36 37 |
# File 'lib/switchman/parallel.rb', line 35 def inspect "#<UndumpableResult:#{name}>" end |