Class: OpenEHR::AM::Archetype::Assertion::ExprLeaf

Inherits:
ExprItem
  • Object
show all
Defined in:
lib/open_ehr/am/archetype/assertion.rb

Instance Attribute Summary collapse

Attributes inherited from ExprItem

#type

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ExprLeaf

Returns a new instance of ExprLeaf.



49
50
51
52
53
# File 'lib/open_ehr/am/archetype/assertion.rb', line 49

def initialize(args = { })
  super
  self.item = args[:item]
  self.reference_type = args[:reference_type]
end

Instance Attribute Details

#itemObject

Returns the value of attribute item.



47
48
49
# File 'lib/open_ehr/am/archetype/assertion.rb', line 47

def item
  @item
end

#reference_typeObject

Returns the value of attribute reference_type.



47
48
49
# File 'lib/open_ehr/am/archetype/assertion.rb', line 47

def reference_type
  @reference_type
end