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.
41 42 43 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 41 def initialize(args = { }) self.name = args[:name] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
39 40 41 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 39 def name @name end |