Class: Obligation::Value

Inherits:
Base
  • Object
show all
Defined in:
lib/obligation/impl.rb

Defined Under Namespace

Classes: Writer

Instance Method Summary collapse

Methods inherited from Base

#fulfilled?, #pending?, #reason, #rejected?, #state, #then, #value

Methods included from Obligation

create, #fulfilled?, on, #pending?, #rejected?, #then, #value

Constructor Details

#initializeValue

Returns a new instance of Value.



82
83
84
85
86
# File 'lib/obligation/impl.rb', line 82

def initialize
  super

  @result = nil
end