Class: Wood::Nodes::Variable::Reference
- Defined in:
- lib/wood/nodes/variable.rb
Instance Attribute Summary collapse
-
#var ⇒ Object
Returns the value of attribute var.
Class Method Summary collapse
Instance Attribute Details
#var ⇒ Object
Returns the value of attribute var.
21 22 23 |
# File 'lib/wood/nodes/variable.rb', line 21 def var @var end |
Class Method Details
.[](options) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/wood/nodes/variable.rb', line 9 def self.[]() case when Hash new() else new(name: ) end end |