Class: OpenEHR::AM::Archetype::Assertion::ExprUnaryOperator

Inherits:
ExprOperator show all
Defined in:
lib/open_ehr/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 = { }) ⇒ 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

#operandObject

Returns the value of attribute operand.



81
82
83
# File 'lib/open_ehr/am/archetype/assertion.rb', line 81

def operand
  @operand
end