Class: OpenEHR::AM::Archetype::ValidityKind
- Inherits:
-
Object
- Object
- OpenEHR::AM::Archetype::ValidityKind
- Defined in:
- lib/open_ehr/am/archetype.rb
Overview
original file: ref_imple_eiffel/components/adl_parser/src/interface/adl_definition.e
Constant Summary collapse
- MANDATORY =
1001
- OPTIONAL =
1002
- DISALLOWED =
1003
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ ValidityKind
constructor
A new instance of ValidityKind.
Constructor Details
#initialize(args = { }) ⇒ ValidityKind
Returns a new instance of ValidityKind.
120 121 122 |
# File 'lib/open_ehr/am/archetype.rb', line 120 def initialize(args = { }) self.value = args[:value] end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
114 115 116 |
# File 'lib/open_ehr/am/archetype.rb', line 114 def value @value end |