Class: OpenEHR::AQL::Model::OrExpr

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

Overview

whereExpr : ... | whereExpr OR whereExpr | ... ;

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(left:, right:) ⇒ OrExpr

Returns a new instance of OrExpr.



29
30
31
32
33
# File 'lib/openehr/aql/model/where_clause.rb', line 29

def initialize(left:, right:)
  @left = left
  @right = right
  freeze
end

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



27
28
29
# File 'lib/openehr/aql/model/where_clause.rb', line 27

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



27
28
29
# File 'lib/openehr/aql/model/where_clause.rb', line 27

def right
  @right
end