Changeset [06eacd00d2adb4b867b2cb9a378cf504941aeffb] by Scott Petersen

February 26th, 2009 @ 02:54 PM

Added new callbacks with slightly more obvious semantics:

state - before_exit state - after_exit state - before_enter state - after_enter event - before event - after

These get called as implied just before or after the state has been updated. No ordering within the before or after groups is defined. http://github.com/rubyist/aasm/c...

Committed by Scott Petersen

  • M lib/aasm.rb
  • M lib/event.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.