Class: OpenEHR::AM::Archetype::Assertion::ExprOperator

Inherits:
ExprItem
  • Object
show all
Defined in:
lib/openehr/am/archetype/assertion.rb

Direct Known Subclasses

ExprBinaryOperator, ExprUnaryOperator

Instance Attribute Summary collapse

Attributes inherited from ExprItem

#type

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ExprOperator

Returns a new instance of ExprOperator.



73
74
75
76
77
# File 'lib/openehr/am/archetype/assertion.rb', line 73

def initialize(args = { })
  super
  self.operator = args[:operator]
  self.precedence_overridden = args[:precedence_overridden]
end

Instance Attribute Details

#operatorObject

Returns the value of attribute operator.



71
72
73
# File 'lib/openehr/am/archetype/assertion.rb', line 71

def operator
  @operator
end

#precedence_overriddenObject

Returns the value of attribute precedence_overridden.



71
72
73
# File 'lib/openehr/am/archetype/assertion.rb', line 71

def precedence_overridden
  @precedence_overridden
end