Class: Expressir::Model::DataTypes::EnumerationItem
- Inherits:
-
ModelElement
- Object
- ModelElement
- Expressir::Model::DataTypes::EnumerationItem
- Includes:
- Identifier
- Defined in:
- lib/expressir/model/data_types/enumeration_item.rb
Overview
Specified in ISO 10303-11:2004
-
section 8.4.1 Enumeration 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 = {}) ⇒ EnumerationItem
constructor
A new instance of EnumerationItem.
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 = {}) ⇒ EnumerationItem
Returns a new instance of EnumerationItem.
11 12 13 14 15 |
# File 'lib/expressir/model/data_types/enumeration_item.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/enumeration_item.rb', line 18 def children [ *remark_items ] end |