Class: OpenEHR::AQL::Model::PredicateOr
- Inherits:
-
Object
- Object
- OpenEHR::AQL::Model::PredicateOr
- Defined in:
- lib/openehr/aql/model/predicate.rb
Overview
nodePredicate : ... | nodePredicate OR nodePredicate ;
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:) ⇒ PredicateOr
constructor
A new instance of PredicateOr.
Constructor Details
#initialize(left:, right:) ⇒ PredicateOr
Returns a new instance of PredicateOr.
66 67 68 69 70 |
# File 'lib/openehr/aql/model/predicate.rb', line 66 def initialize(left:, right:) @left = left @right = right freeze end |
Instance Attribute Details
#left ⇒ Object (readonly)
Returns the value of attribute left.
64 65 66 |
# File 'lib/openehr/aql/model/predicate.rb', line 64 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
64 65 66 |
# File 'lib/openehr/aql/model/predicate.rb', line 64 def right @right end |