Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Ruby Library for statemachines
Ruby CSS Other
Branch: master
Failed to load latest commit information.
doc/website moved web pages to git
generate_tests added some examples/tests for the dot_graph generation. Made comments…
lib updates CHANGES and version
rails_plugin made some fixes
spec Introduce on_state_change for building persistent states.
.gitignore added missing files
CHANGES updates CHANGES and version
Gemfile getting ready for new version
LICENSE made file structure more conventional
README.rdoc updates README
Rakefile Update rake tasks according to it's deprecation messages.
statemachine.gemspec pulled gemspec into it's own file. added rvmrc file.


Statemachine Gem

This Ruby Library enables simple creation of full-features Finite Statemachines.


Where to start:


  • Statemachine::SuperstateBuilding

  • Statemachine::StateBuilding

  • Statemachine::Statemachine


Some documentation is available here in this RDOC documentation. You may also find useful documentation on the Statemachine website:

A detailed tutorial and overview of Finite State Machines and this library can be found at


Copyright (C) 2006-2014 Micah Martin

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Something went wrong with that request. Please try again.