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 527 def initialize(value, reason) super() @Value = value @Reason = reason end
Public Instance Methods
apply(block)
click to toggle source
# File lib/concurrent/edge/future.rb, line 549 def apply(block) block.call(*reason) end
reason()
click to toggle source
# File lib/concurrent/edge/future.rb, line 545 def reason @Reason end
success?()
click to toggle source
# File lib/concurrent/edge/future.rb, line 533 def success? false end
to_sym()
click to toggle source
# File lib/concurrent/edge/future.rb, line 537 def to_sym :failed end
value()
click to toggle source
# File lib/concurrent/edge/future.rb, line 541 def value @Value end