Class: OpenEHR::AM::Archetype::Assertion::ExprItem

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

Direct Known Subclasses

ExprLeaf, ExprOperator

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ExprItem

Returns a new instance of ExprItem.



34
35
36
# File 'lib/open_ehr/am/archetype/assertion.rb', line 34

def initialize(args = { })
  self.type = args[:type]
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



32
33
34
# File 'lib/open_ehr/am/archetype/assertion.rb', line 32

def type
  @type
end