Class: OpenEHR::AQL::Model::PredicateOr

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/aql/model/predicate.rb

Overview

nodePredicate : ... | nodePredicate OR nodePredicate ;

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#leftObject (readonly)

Returns the value of attribute left.



64
65
66
# File 'lib/openehr/aql/model/predicate.rb', line 64

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



64
65
66
# File 'lib/openehr/aql/model/predicate.rb', line 64

def right
  @right
end