Class: Confuscript::Nodes::Values::VariableNode
- Inherits:
-
BaseNode
- Object
- Treetop::Runtime::SyntaxNode
- BaseNode
- Confuscript::Nodes::Values::VariableNode
- Defined in:
- lib/confuscript/nodes/values/variable_node.rb
Instance Method Summary collapse
Methods inherited from BaseNode
Instance Method Details
#evaluate(context) ⇒ Object
5 6 7 8 |
# File 'lib/confuscript/nodes/values/variable_node.rb', line 5 def evaluate(context) # Return the value of the variable from the context context[text_value] end |