Class: Immutable::Promise::Content

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

Overview

:nodoc:

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) type

Returns the value of attribute type



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

def type
  @type
end

- (Object) value

Returns the value of attribute value



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

def value
  @value
end