Exception: Parallel::Break
- Inherits:
-
StandardError
- Object
- StandardError
- Parallel::Break
- Defined in:
- lib/parallel.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ Break
constructor
A new instance of Break.
Constructor Details
#initialize(value = nil) ⇒ Break
Returns a new instance of Break.
14 15 16 17 |
# File 'lib/parallel.rb', line 14 def initialize(value = nil) super() @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
12 13 14 |
# File 'lib/parallel.rb', line 12 def value @value end |