Class: OpenEHR::AM::Archetype::Assertion::AssertionVariable

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ AssertionVariable

Returns a new instance of AssertionVariable.



123
124
125
126
# File 'lib/openehr/am/archetype/assertion.rb', line 123

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

Instance Attribute Details

#definitionObject

Returns the value of attribute definition.



121
122
123
# File 'lib/openehr/am/archetype/assertion.rb', line 121

def definition
  @definition
end

#nameObject

Returns the value of attribute name.



121
122
123
# File 'lib/openehr/am/archetype/assertion.rb', line 121

def name
  @name
end