Class: Expressir::Model::SupertypeExpressions::BinarySupertypeExpression
- Inherits:
-
Expressir::Model::SupertypeExpression
- Object
- ModelElement
- Expressir::Model::SupertypeExpression
- Expressir::Model::SupertypeExpressions::BinarySupertypeExpression
- Defined in:
- lib/expressir/model/supertype_expressions/binary_supertype_expression.rb
Overview
Specified in ISO 10303-11:2004
-
section 9.2.5.3 ANDOR
-
section 9.2.5.4 AND
Constant Summary collapse
- AND =
:AND
- ANDOR =
:ANDOR
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ BinarySupertypeExpression
constructor
A new instance of BinarySupertypeExpression.
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 = {}) ⇒ BinarySupertypeExpression
Returns a new instance of BinarySupertypeExpression.
19 20 21 22 23 24 25 |
# File 'lib/expressir/model/supertype_expressions/binary_supertype_expression.rb', line 19 def initialize( = {}) @operator = [:operator] @operand1 = [:operand1] @operand2 = [:operand2] super end |
Instance Attribute Details
#operand1 ⇒ SupertypeExpression
12 |
# File 'lib/expressir/model/supertype_expressions/binary_supertype_expression.rb', line 12 model_attr_accessor :operand1, 'SupertypeExpression' |
#operand2 ⇒ SupertypeExpression
13 |
# File 'lib/expressir/model/supertype_expressions/binary_supertype_expression.rb', line 13 model_attr_accessor :operand2, 'SupertypeExpression' |
#operator ⇒ :AND, :ANDOR
11 |
# File 'lib/expressir/model/supertype_expressions/binary_supertype_expression.rb', line 11 model_attr_accessor :operator, ':AND, :ANDOR' |