Class: OpenEHR::AM::Archetype::Assertion::ExprUnaryOperator
- Inherits:
-
ExprOperator
- Object
- ExprItem
- ExprOperator
- OpenEHR::AM::Archetype::Assertion::ExprUnaryOperator
- Defined in:
- lib/open_ehr/am/archetype/assertion.rb
Instance Attribute Summary collapse
-
#operand ⇒ Object
Returns the value of attribute operand.
Attributes inherited from ExprOperator
#operator, #precedence_overridden
Attributes inherited from ExprItem
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ ExprUnaryOperator
constructor
A new instance of ExprUnaryOperator.
Constructor Details
#initialize(args = { }) ⇒ ExprUnaryOperator
Returns a new instance of ExprUnaryOperator.
83 84 85 86 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 83 def initialize(args = { }) super self.operand = args[:operand] end |
Instance Attribute Details
#operand ⇒ Object
Returns the value of attribute operand.
81 82 83 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 81 def operand @operand end |