class OpenEHR::AM::Archetype::Assertion::ExprUnaryOperator

Attributes

operand[R]

Public Class Methods

new(args = { }) click to toggle source
# File lib/open_ehr/am/archetype/assertion.rb, line 83
def initialize(args = { })
  super
  self.operand = args[:operand]
end

Public Instance Methods

operand=(operand) click to toggle source
# File lib/open_ehr/am/archetype/assertion.rb, line 88
def operand=(operand)
  if operand.nil?
    raise ArgumentError, 'operand is mandatory'
  end
  @operand = operand
end