Class: Expressir::Model::Expressions::AggregateInitializer
- Inherits:
-
Expressir::Model::Expression
- Object
- ModelElement
- Expressir::Model::Expression
- Expressir::Model::Expressions::AggregateInitializer
- Defined in:
- lib/expressir/model/expressions/aggregate_initializer.rb
Overview
Specified in ISO 10303-11:2004
-
section 12.9 Aggregate initializer
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ AggregateInitializer
constructor
A new instance of AggregateInitializer.
Methods inherited from ModelElement
#children, #children_by_id, #find, from_hash, model_attr_accessor, model_attrs, #path, #reset_children_by_id, #to_hash, #to_liquid, #to_s
Constructor Details
#initialize(options = {}) ⇒ AggregateInitializer
Returns a new instance of AggregateInitializer.
11 12 13 14 15 |
# File 'lib/expressir/model/expressions/aggregate_initializer.rb', line 11 def initialize( = {}) @items = [:items] || [] super end |
Instance Attribute Details
#items ⇒ Array<AggregateInitializerItem>
7 |
# File 'lib/expressir/model/expressions/aggregate_initializer.rb', line 7 model_attr_accessor :items, "Array<AggregateInitializerItem>" |