Class: Expressir::Model::Expressions::EntityConstructor
- Inherits:
-
Expressir::Model::Expression
- Object
- ModelElement
- Expressir::Model::Expression
- Expressir::Model::Expressions::EntityConstructor
- Defined in:
- lib/expressir/model/expressions/entity_constructor.rb
Overview
Specified in ISO 10303-11:2004
-
section 9.2.6 Implicit declarations
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ EntityConstructor
constructor
A new instance of EntityConstructor.
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 = {}) ⇒ EntityConstructor
Returns a new instance of EntityConstructor.
13 14 15 16 17 18 |
# File 'lib/expressir/model/expressions/entity_constructor.rb', line 13 def initialize( = {}) @entity = [:entity] @parameters = [:parameters] || [] super end |
Instance Attribute Details
#entity ⇒ Reference
7 |
# File 'lib/expressir/model/expressions/entity_constructor.rb', line 7 model_attr_accessor :entity, "Reference" |
#parameters ⇒ Array<Expression>
8 |
# File 'lib/expressir/model/expressions/entity_constructor.rb', line 8 model_attr_accessor :parameters, "Array<Expression>" |