Class: Obligation::Value
Defined Under Namespace
Classes: Writer
Instance Method Summary collapse
-
#initialize ⇒ Value
constructor
A new instance of Value.
Methods inherited from Base
#fulfilled?, #pending?, #reason, #rejected?, #state, #then, #value
Methods included from Obligation
create, #fulfilled?, on, #pending?, #rejected?, #then, #value
Constructor Details
#initialize ⇒ Value
Returns a new instance of Value.
82 83 84 85 86 |
# File 'lib/obligation/impl.rb', line 82 def initialize super @result = nil end |