Class: Confuscript::Nodes::Values::BooleanNode
- Inherits:
-
BaseNode
- Object
- Treetop::Runtime::SyntaxNode
- BaseNode
- Confuscript::Nodes::Values::BooleanNode
- Defined in:
- lib/confuscript/nodes/values/boolean_node.rb
Instance Method Summary collapse
Methods inherited from BaseNode
Instance Method Details
#evaluate(context) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/confuscript/nodes/values/boolean_node.rb', line 5 def evaluate(context) # Return the value of the boolean # I don't know if this is even correct but since it's working # I'm going to leave it alone for now. text_value == "true" end |