Class: UIC::StateMachine
- Inherits:
-
Object
- Object
- UIC::StateMachine
- Includes:
- XMLFileBacked
- Defined in:
- lib/ruic/statemachine.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes included from XMLFileBacked
Attributes included from FileBacked
Instance Method Summary collapse
-
#initialize(scxml) ⇒ StateMachine
constructor
A new instance of StateMachine.
- #inspect ⇒ Object
Methods included from XMLFileBacked
#file=, #save!, #save_as, #to_xml
Methods included from FileBacked
#absolute_path, #file_found?, #filename, #relative_path, #save!, #save_as
Constructor Details
#initialize(scxml) ⇒ StateMachine
Returns a new instance of StateMachine.
3 4 5 |
# File 'lib/ruic/statemachine.rb', line 3 def initialize( scxml ) self.file = scxml end |
Instance Method Details
#inspect ⇒ Object
6 7 8 |
# File 'lib/ruic/statemachine.rb', line 6 def inspect "<#{self.class} #{file}>" end |