Class: OpenEHR::AM::Archetype::Assertion::ExprBinaryOperator
- Inherits:
-
ExprOperator
- Object
- ExprItem
- ExprOperator
- OpenEHR::AM::Archetype::Assertion::ExprBinaryOperator
- Defined in:
- lib/open_ehr/am/archetype/assertion.rb
Instance Attribute Summary collapse
-
#left_operand ⇒ Object
Returns the value of attribute left_operand.
-
#right_operand ⇒ Object
Returns the value of attribute right_operand.
Attributes inherited from ExprOperator
#operator, #precedence_overridden
Attributes inherited from ExprItem
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ ExprBinaryOperator
constructor
A new instance of ExprBinaryOperator.
Constructor Details
#initialize(args = { }) ⇒ ExprBinaryOperator
Returns a new instance of ExprBinaryOperator.
99 100 101 102 103 |
# File 'lib/open_ehr/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_operand ⇒ Object
Returns the value of attribute left_operand.
97 98 99 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 97 def left_operand @left_operand end |
#right_operand ⇒ Object
Returns the value of attribute right_operand.
97 98 99 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 97 def right_operand @right_operand end |