class OpenEHR::AM::Archetype::Assertion::ExprBinaryOperator
Attributes
left_operand[R]
right_operand[R]
Public Class Methods
new(args = { })
click to toggle source
Calls superclass method
OpenEHR::AM::Archetype::Assertion::ExprOperator::new
# 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
Public Instance Methods
left_operand=(left_operand)
click to toggle source
# File lib/openehr/am/archetype/assertion.rb, line 112 def left_operand=(left_operand) if left_operand.nil? raise ArgumentError, 'left_operand is mandatory' end @left_operand = left_operand end
right_operand=(right_operand)
click to toggle source
# File lib/openehr/am/archetype/assertion.rb, line 105 def right_operand=(right_operand) if right_operand.nil? raise ArgumentError, 'right_operand is mandatory' end @right_operand = right_operand end