Class: Crokus::ArrayOrStructInit
Instance Attribute Summary collapse
-
#elements ⇒ Object
Returns the value of attribute elements.
Instance Method Summary collapse
-
#initialize(elements = []) ⇒ ArrayOrStructInit
constructor
A new instance of ArrayOrStructInit.
Methods inherited from Ast
Constructor Details
#initialize(elements = []) ⇒ ArrayOrStructInit
Returns a new instance of ArrayOrStructInit.
411 412 413 |
# File 'lib/crokus/ast.rb', line 411 def initialize elements=[] @elements=elements end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements.
410 411 412 |
# File 'lib/crokus/ast.rb', line 410 def elements @elements end |