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