class Concurrent::Edge::Future::PartiallyFailed
@!visibility private
Public Class Methods
new(value, reason)
click to toggle source
Calls superclass method
# File lib/concurrent/edge/future.rb, line 505 def initialize(value, reason) @Value = value @Reason = reason super() end
Public Instance Methods
apply(block)
click to toggle source
# File lib/concurrent/edge/future.rb, line 527 def apply(block) block.call(*reason) end
reason()
click to toggle source
# File lib/concurrent/edge/future.rb, line 523 def reason @Reason end
success?()
click to toggle source
# File lib/concurrent/edge/future.rb, line 511 def success? false end
to_sym()
click to toggle source
# File lib/concurrent/edge/future.rb, line 515 def to_sym :failed end
value()
click to toggle source
# File lib/concurrent/edge/future.rb, line 519 def value @Value end