class Concurrent::Edge::Future::Success
@!visibility private
Public Class Methods
new(value)
click to toggle source
# File lib/concurrent/edge/future.rb, line 466 def initialize(value) @Value = value end
Public Instance Methods
apply(block)
click to toggle source
# File lib/concurrent/edge/future.rb, line 474 def apply(block) block.call value end
reason()
click to toggle source
# File lib/concurrent/edge/future.rb, line 482 def reason nil end
success?()
click to toggle source
# File lib/concurrent/edge/future.rb, line 470 def success? true end
to_sym()
click to toggle source
# File lib/concurrent/edge/future.rb, line 486 def to_sym :success end
value()
click to toggle source
# File lib/concurrent/edge/future.rb, line 478 def value @Value end