Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::StateMachine
- Inherits:
-
Object
- Object
- OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::StateMachine
- Defined in:
- lib/openehr/am/openehr_profile/data_types/basic.rb
Instance Attribute Summary collapse
-
#states ⇒ Object
Returns the value of attribute states.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ StateMachine
constructor
A new instance of StateMachine.
Constructor Details
#initialize(args = { }) ⇒ StateMachine
Returns a new instance of StateMachine.
26 27 28 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 26 def initialize(args = { }) self.states = args[:states] end |
Instance Attribute Details
#states ⇒ Object
Returns the value of attribute states.
24 25 26 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 24 def states @states end |