Class: Opencdd::Cddal::AST::Tuple
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Cddal::AST::Tuple
- Defined in:
- lib/opencdd/cddal/ast.rb
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
Instance Method Summary collapse
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements
132 133 134 |
# File 'lib/opencdd/cddal/ast.rb', line 132 def elements @elements end |
Instance Method Details
#to_cddal ⇒ Object
133 134 135 |
# File 'lib/opencdd/cddal/ast.rb', line 133 def to_cddal "(#{elements.map(&:to_cddal).join(', ')})" end |