class OpenEHR::AM::Archetype::Assertion::ExprUnaryOperator
Attributes
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 83 def initialize(args = { }) super self.operand = args[:operand] end
Public Instance Methods
operand=(operand)
click to toggle source
# File lib/openehr/am/archetype/assertion.rb, line 88 def operand=(operand) if operand.nil? raise ArgumentError, 'operand is mandatory' end @operand = operand end