Class: TPPlus::Nodes::LPOSNode
- Inherits:
-
Object
- Object
- TPPlus::Nodes::LPOSNode
- Defined in:
- lib/tp_plus/nodes/lpos_node.rb
Instance Method Summary collapse
- #eval(context, options = {}) ⇒ Object
-
#initialize(var) ⇒ LPOSNode
constructor
A new instance of LPOSNode.
Constructor Details
#initialize(var) ⇒ LPOSNode
Returns a new instance of LPOSNode.
4 5 6 |
# File 'lib/tp_plus/nodes/lpos_node.rb', line 4 def initialize(var) @var = var end |
Instance Method Details
#eval(context, options = {}) ⇒ Object
8 9 10 |
# File 'lib/tp_plus/nodes/lpos_node.rb', line 8 def eval(context, ={}) "#{@var.eval(context, )}=LPOS" end |