Class: OpenEHR::AM::Archetype::Assertion::AssertionVariable
- Inherits:
-
Object
- Object
- OpenEHR::AM::Archetype::Assertion::AssertionVariable
- Defined in:
- lib/open_ehr/am/archetype/assertion.rb
Instance Attribute Summary collapse
-
#definition ⇒ Object
Returns the value of attribute definition.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ AssertionVariable
constructor
A new instance of AssertionVariable.
Constructor Details
#initialize(args = { }) ⇒ AssertionVariable
Returns a new instance of AssertionVariable.
123 124 125 126 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 123 def initialize(args = { }) self.name = args[:name] self.definition = args[:definition] end |
Instance Attribute Details
#definition ⇒ Object
Returns the value of attribute definition.
121 122 123 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 121 def definition @definition end |
#name ⇒ Object
Returns the value of attribute name.
121 122 123 |
# File 'lib/open_ehr/am/archetype/assertion.rb', line 121 def name @name end |