class Concurrent::Edge::Future::Failed
@!visibility private
Public Class Methods
new(reason)
click to toggle source
# File lib/concurrent/edge/future.rb, line 500 def initialize(reason) @Reason = reason end
Public Instance Methods
apply(block)
click to toggle source
# File lib/concurrent/edge/future.rb, line 520 def apply(block) block.call reason end
reason()
click to toggle source
# File lib/concurrent/edge/future.rb, line 512 def reason @Reason end
success?()
click to toggle source
# File lib/concurrent/edge/future.rb, line 504 def success? false end
to_sym()
click to toggle source
# File lib/concurrent/edge/future.rb, line 516 def to_sym :failed end
value()
click to toggle source
# File lib/concurrent/edge/future.rb, line 508 def value nil end