Exception: Parallel::Break

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parallel.rb

Direct Known Subclasses

Kill

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (readonly)

Returns the value of attribute value.



12
13
14
# File 'lib/parallel.rb', line 12

def value
  @value
end