class SimpleFuture::ResultContainer
Container for holding a correct result. If an error occurred in the child, it will return the raw Exception instead. Wrapping a value (including an Exception) in a ResultContainer
marks it as a correct result.
Attributes
value[R]
Public Class Methods
new(v)
click to toggle source
# File lib/simple-future.rb, line 70 def initialize(v) @value = v end