Class: CFG::MappingNode
Instance Attribute Summary collapse
-
#elements ⇒ Object
readonly
Returns the value of attribute elements.
Attributes inherited from ASTNode
Instance Method Summary collapse
-
#initialize(elements) ⇒ MappingNode
constructor
A new instance of MappingNode.
Constructor Details
#initialize(elements) ⇒ MappingNode
Returns a new instance of MappingNode.
836 837 838 839 |
# File 'lib/CFG/config.rb', line 836 def initialize(elements) super(:LEFT_CURLY) @elements = elements end |
Instance Attribute Details
#elements ⇒ Object (readonly)
Returns the value of attribute elements.
834 835 836 |
# File 'lib/CFG/config.rb', line 834 def elements @elements end |