Class: OpenEHR::AQL::Model::AndExpr

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

Overview

whereExpr : ... | whereExpr AND whereExpr | ... ;

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(left:, right:) ⇒ AndExpr

Returns a new instance of AndExpr.



18
19
20
21
22
# File 'lib/openehr/aql/model/where_clause.rb', line 18

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

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



16
17
18
# File 'lib/openehr/aql/model/where_clause.rb', line 16

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



16
17
18
# File 'lib/openehr/aql/model/where_clause.rb', line 16

def right
  @right
end