Class: Confuscript::Nodes::ConsoleInputNode
- Inherits:
-
BaseNode
- Object
- Treetop::Runtime::SyntaxNode
- BaseNode
- Confuscript::Nodes::ConsoleInputNode
- Defined in:
- lib/confuscript/nodes/console_input_node.rb
Instance Attribute Summary collapse
-
#string ⇒ Object
Returns the value of attribute string.
Instance Method Summary collapse
Methods inherited from BaseNode
Instance Attribute Details
#string ⇒ Object
Returns the value of attribute string.
4 5 6 |
# File 'lib/confuscript/nodes/console_input_node.rb', line 4 def string @string end |
Instance Method Details
#evaluate(context) ⇒ Object
6 7 8 9 10 |
# File 'lib/confuscript/nodes/console_input_node.rb', line 6 def evaluate(context) # Basically we're putsing the value # Not the best way to do this puts value.evaluate(context) end |