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