Class: UIC::StateMachine

Inherits:
Object
  • Object
show all
Includes:
XMLFileBacked
Defined in:
lib/ruic/statemachine.rb

Direct Known Subclasses

Application::StateMachine

Instance Attribute Summary

Attributes included from XMLFileBacked

#doc

Attributes included from FileBacked

#file, #file_content

Instance Method Summary collapse

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

#inspectObject



6
7
8
# File 'lib/ruic/statemachine.rb', line 6

def inspect
	"<#{self.class} #{file}>"
end