Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::Transition
- Inherits:
-
Object
- Object
- OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::Transition
- Defined in:
- lib/openehr/am/openehr_profile/data_types/basic.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#event ⇒ Object
Returns the value of attribute event.
-
#guard ⇒ Object
Returns the value of attribute guard.
-
#next_state ⇒ Object
Returns the value of attribute next_state.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Transition
constructor
A new instance of Transition.
Constructor Details
#initialize(args = { }) ⇒ Transition
Returns a new instance of Transition.
75 76 77 78 79 80 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 75 def initialize(args = { }) self.event = args[:event] self.guard = args[:guard] self.action = args[:action] self.next_state = args[:next_state] end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
73 74 75 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73 def action @action end |
#event ⇒ Object
Returns the value of attribute event.
73 74 75 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73 def event @event end |
#guard ⇒ Object
Returns the value of attribute guard.
73 74 75 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73 def guard @guard end |
#next_state ⇒ Object
Returns the value of attribute next_state.
73 74 75 |
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 73 def next_state @next_state end |