Class: Confuscript::Nodes::Values::StringNode
- Inherits:
-
BaseNode
- Object
- Treetop::Runtime::SyntaxNode
- BaseNode
- Confuscript::Nodes::Values::StringNode
- Defined in:
- lib/confuscript/nodes/values/string_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/string_node.rb', line 5 def evaluate(context) # Return the inner string of the node text_value[1..-2] # Remove the quotes end |