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



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

def type
  @type
end

#valueObject

Returns the value of attribute value



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

def value
  @value
end