Class: Expressir::Model::References::IndexReference
- Inherits:
-
Expressir::Model::Reference
- Object
- ModelElement
- Expressir::Model::Reference
- Expressir::Model::References::IndexReference
- Defined in:
- lib/expressir/model/references/index_reference.rb
Overview
Specified in ISO 10303-11:2004
-
section 12.3.1 Binary indexing
-
section 12.5.1 String indexing
-
section 12.6.1 Aggregate indexing
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ IndexReference
constructor
A new instance of IndexReference.
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 = {}) ⇒ IndexReference
Returns a new instance of IndexReference.
17 18 19 20 21 22 23 |
# File 'lib/expressir/model/references/index_reference.rb', line 17 def initialize( = {}) @ref = [:ref] @index1 = [:index1] @index2 = [:index2] super end |
Instance Attribute Details
#index1 ⇒ Expression
10 |
# File 'lib/expressir/model/references/index_reference.rb', line 10 model_attr_accessor :index1, 'Expression' |
#index2 ⇒ Expression
11 |
# File 'lib/expressir/model/references/index_reference.rb', line 11 model_attr_accessor :index2, 'Expression' |
#ref ⇒ Reference
9 |
# File 'lib/expressir/model/references/index_reference.rb', line 9 model_attr_accessor :ref, 'Reference' |