class Parallel::Break
Attributes
value[R]
Public Class Methods
_load(data)
click to toggle source
marshal_load that is used for ruby exceptions
# File lib/parallel.rb, line 26 def self._load(data) new(Marshal.load(data)) end
new(value = nil)
click to toggle source
Calls superclass method
# File lib/parallel.rb, line 14 def initialize(value = nil) super() @value = value end
Public Instance Methods
_dump(_depth)
click to toggle source
marshal_dump that is used for ruby exceptions avoid dumping the cause since nobody needs that and it can include undumpable exceptions
# File lib/parallel.rb, line 21 def _dump(_depth) Marshal.dump(@value) end