Class: OpenEHR::AM::Archetype::Assertion::ExprBinaryOperator

Inherits:
ExprOperator show all
Defined in:
lib/openehr/am/archetype/assertion.rb

Instance Attribute Summary collapse

Attributes inherited from ExprOperator

#operator, #precedence_overridden

Attributes inherited from ExprItem

#type

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ExprBinaryOperator

Returns a new instance of ExprBinaryOperator.



99
100
101
102
103
# File 'lib/openehr/am/archetype/assertion.rb', line 99

def initialize(args = { })
  super
  self.right_operand = args[:right_operand]
  self.left_operand = args[:left_operand]
end

Instance Attribute Details

#left_operandObject

Returns the value of attribute left_operand.



97
98
99
# File 'lib/openehr/am/archetype/assertion.rb', line 97

def left_operand
  @left_operand
end

#right_operandObject

Returns the value of attribute right_operand.



97
98
99
# File 'lib/openehr/am/archetype/assertion.rb', line 97

def right_operand
  @right_operand
end