Class: Heist::Runtime::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/heist/runtime/data/value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Value

Returns a new instance of Value.



7
8
9
# File 'lib/heist/runtime/data/value.rb', line 7

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



5
6
7
# File 'lib/heist/runtime/data/value.rb', line 5

def value
  @value
end