Class: Expressir::Model::Expressions::AggregateInitializerItem
- Inherits:
-
Expressir::Model::Expression
- Object
- ModelElement
- Expressir::Model::Expression
- Expressir::Model::Expressions::AggregateInitializerItem
- Defined in:
- lib/expressir/model/expressions/aggregate_initializer_item.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 = {}) ⇒ AggregateInitializerItem
constructor
A new instance of AggregateInitializerItem.
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 = {}) ⇒ AggregateInitializerItem
Returns a new instance of AggregateInitializerItem.
13 14 15 16 17 18 |
# File 'lib/expressir/model/expressions/aggregate_initializer_item.rb', line 13 def initialize( = {}) @expression = [:expression] @repetition = [:repetition] super end |
Instance Attribute Details
#expression ⇒ Expression
7 |
# File 'lib/expressir/model/expressions/aggregate_initializer_item.rb', line 7 model_attr_accessor :expression, 'Expression' |
#repetition ⇒ Expression
8 |
# File 'lib/expressir/model/expressions/aggregate_initializer_item.rb', line 8 model_attr_accessor :repetition, 'Expression' |