class OpenEHR::AM::Archetype::Assertion::ExprLeaf
Attributes
item[R]
reference_type[R]
Public Class Methods
new(args = { })
click to toggle source
Calls superclass method
OpenEHR::AM::Archetype::Assertion::ExprItem::new
# File lib/openehr/am/archetype/assertion.rb, line 49 def initialize(args = { }) super self.item = args[:item] self.reference_type = args[:reference_type] end
Public Instance Methods
item=(item)
click to toggle source
# File lib/openehr/am/archetype/assertion.rb, line 55 def item=(item) if item.nil? raise ArgumentError, 'item is mandatory' end @item = item end
reference_type=(reference_type)
click to toggle source
# File lib/openehr/am/archetype/assertion.rb, line 62 def reference_type=(reference_type) if reference_type.nil? raise ArgumentError, 'reference_type is mandatory' end @reference_type = reference_type end