Class: FastRuby::Context::Value

Inherits:
Object
  • Object
show all
Defined in:
lib/fastruby/translator/translator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(v) ⇒ Value

Returns a new instance of Value.



43
# File 'lib/fastruby/translator/translator.rb', line 43

def initialize(v); @value = v; end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



42
43
44
# File 'lib/fastruby/translator/translator.rb', line 42

def value
  @value
end