Class: Expressir::Model::References::SimpleReference
- Inherits:
-
Expressir::Model::Reference
- Object
- ModelElement
- Expressir::Model::Reference
- Expressir::Model::References::SimpleReference
- Defined in:
- lib/expressir/model/references/simple_reference.rb
Overview
Specified in ISO 10303-11:2004
-
section 12.7.1 Simple references
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SimpleReference
constructor
A new instance of SimpleReference.
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 = {}) ⇒ SimpleReference
Returns a new instance of SimpleReference.
14 15 16 17 18 19 20 |
# File 'lib/expressir/model/references/simple_reference.rb', line 14 def initialize( = {}) @id = [:id] @base_path = [:base_path] super end |