Class: Copper::AttributesRightAssociated
- Inherits:
-
CopperNode
- Object
- Treetop::Runtime::SyntaxNode
- CopperNode
- Copper::AttributesRightAssociated
- Defined in:
- lib/copper/attributes_right_associated.rb
Instance Method Summary collapse
Instance Method Details
#value(vars = {}) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/copper/attributes_right_associated.rb', line 3 def value(vars = {}) rhs = self.parent.elements[0].value(vars) lhs = self.elements[1].value(vars) return lhs end |