Class: OpenEHR::AM::Archetype::ValidityKind
- Inherits:
-
Object
- Object
- OpenEHR::AM::Archetype::ValidityKind
- Defined in:
- lib/openehr/am/archetype.rb
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.
124 125 126 |
# File 'lib/openehr/am/archetype.rb', line 124 def initialize(args = { }) self.value = args[:value] end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
118 119 120 |
# File 'lib/openehr/am/archetype.rb', line 118 def value @value end |