Class: Expressir::Model::SupertypeExpressions::OneofSupertypeExpression
- Inherits:
-
Expressir::Model::SupertypeExpression
- Object
- ModelElement
- Expressir::Model::SupertypeExpression
- Expressir::Model::SupertypeExpressions::OneofSupertypeExpression
- Defined in:
- lib/expressir/model/supertype_expressions/oneof_supertype_expression.rb
Overview
Specified in ISO 10303-11:2004
-
section 9.2.5.2 ONEOF
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OneofSupertypeExpression
constructor
A new instance of OneofSupertypeExpression.
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 = {}) ⇒ OneofSupertypeExpression
Returns a new instance of OneofSupertypeExpression.
11 12 13 14 15 |
# File 'lib/expressir/model/supertype_expressions/oneof_supertype_expression.rb', line 11 def initialize( = {}) @operands = [:operands] super end |
Instance Attribute Details
#operands ⇒ Array<SupertypeExpression>
7 |
# File 'lib/expressir/model/supertype_expressions/oneof_supertype_expression.rb', line 7 model_attr_accessor :operands, "Array<SupertypeExpression>" |