Class: OpenEHR::AQL::Model::ContainmentAnd
- Inherits:
-
Object
- Object
- OpenEHR::AQL::Model::ContainmentAnd
- Defined in:
- lib/openehr/aql/model/containment.rb
Overview
containsExpr : ... | containsExpr AND containsExpr | ... ; Groups sibling containment branches that must ALL be present under the same parent, e.g. "CONTAINS (OBSERVATION o1 AND OBSERVATION o2)".
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left:, right:) ⇒ ContainmentAnd
constructor
A new instance of ContainmentAnd.
Constructor Details
#initialize(left:, right:) ⇒ ContainmentAnd
Returns a new instance of ContainmentAnd.
26 27 28 29 30 |
# File 'lib/openehr/aql/model/containment.rb', line 26 def initialize(left:, right:) @left = left @right = right freeze end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
24 25 26 |
# File 'lib/openehr/aql/model/containment.rb', line 24 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
24 25 26 |
# File 'lib/openehr/aql/model/containment.rb', line 24 def right @right end |