Class: OpenEHR::AQL::Model::ContainmentOr

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

Overview

containsExpr : ... | containsExpr OR containsExpr | ... ;

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(left:, right:) ⇒ ContainmentOr

Returns a new instance of ContainmentOr.



37
38
39
40
41
# File 'lib/openehr/aql/model/containment.rb', line 37

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

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



35
36
37
# File 'lib/openehr/aql/model/containment.rb', line 35

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



35
36
37
# File 'lib/openehr/aql/model/containment.rb', line 35

def right
  @right
end