class OpenEHR::AM::Archetype::Assertion::ExprItem
Attributes
type[R]
Public Class Methods
new(args = { })
click to toggle source
# File lib/open_ehr/am/archetype/assertion.rb, line 34 def initialize(args = { }) self.type = args[:type] end
Public Instance Methods
type=(type)
click to toggle source
# File lib/open_ehr/am/archetype/assertion.rb, line 38 def type=(type) if type.nil? or type.empty? raise ArgumentError, 'type is mandatory' end @type = type end