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.
415 416 417 |
# File 'lib/crokus/ast.rb', line 415 def initialize elements=[] @elements=elements end |
Instance Attribute Details
#elements ⇒ Object
Returns the value of attribute elements.
414 415 416 |
# File 'lib/crokus/ast.rb', line 414 def elements @elements end |