Class: Expressir::Model::DataTypes::Generic
- Inherits:
-
Expressir::Model::DataType
- Object
- ModelElement
- Expressir::Model::DataType
- Expressir::Model::DataTypes::Generic
- Includes:
- Identifier
- Defined in:
- lib/expressir/model/data_types/generic.rb
Overview
Specified in ISO 10303-11:2004
-
section 9.5.3.2 Generic data type
Instance Attribute Summary
Attributes included from Identifier
#id, #remark_items, #remarks, #source
Attributes inherited from ModelElement
Instance Method Summary collapse
- #children ⇒ Array<Declaration>
-
#initialize(options = {}) ⇒ Generic
constructor
A new instance of Generic.
Methods inherited from ModelElement
#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 = {}) ⇒ Generic
Returns a new instance of Generic.
11 12 13 14 15 |
# File 'lib/expressir/model/data_types/generic.rb', line 11 def initialize( = {}) initialize_identifier() super end |
Instance Method Details
#children ⇒ Array<Declaration>
18 19 20 21 22 |
# File 'lib/expressir/model/data_types/generic.rb', line 18 def children [ *remark_items ] end |