Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::State
- Inherits:
-
Object
- Object
- OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::State
- Defined in:
- lib/openehr/am/openehr_profile/data_types/basic.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize(args = { }) ⇒ State
Returns a new instance of State.
69 70 71 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 69 def initialize(args = { }) self.name = args[:name] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
67 68 69 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 67 def name @name end |