Class: Immutable::Promise::Content

Inherits:
Struct
  • Object
show all
Defined in:
lib/immutable/promise.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Attribute Details

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



32
33
34
# File 'lib/immutable/promise.rb', line 32

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



32
33
34
# File 'lib/immutable/promise.rb', line 32

def value
  @value
end