class Concurrent::Edge::Future::Success
@!visibility private
Public Class Methods
new(value)
click to toggle source
# File lib/concurrent/edge/future.rb, line 444 def initialize(value) @Value = value end
Public Instance Methods
apply(block)
click to toggle source
# File lib/concurrent/edge/future.rb, line 452 def apply(block) block.call value end
reason()
click to toggle source
# File lib/concurrent/edge/future.rb, line 460 def reason nil end
success?()
click to toggle source
# File lib/concurrent/edge/future.rb, line 448 def success? true end
to_sym()
click to toggle source
# File lib/concurrent/edge/future.rb, line 464 def to_sym :success end
value()
click to toggle source
# File lib/concurrent/edge/future.rb, line 456 def value @Value end