diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-29 21:45:13 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-30 11:59:16 -0700 |
commit | 5481e5417525a027af3d7071826d0771a406e184 (patch) | |
tree | 6faf17d65150d1d80d25defb316bd35553ba7102 /activemodel | |
parent | a1140a10318a79b5dace11679f654c33f477ef57 (diff) | |
download | rails-5481e5417525a027af3d7071826d0771a406e184.tar.gz rails-5481e5417525a027af3d7071826d0771a406e184.tar.bz2 rails-5481e5417525a027af3d7071826d0771a406e184.zip |
AM::StateMachine autoloads
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/state_machine.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/state_machine.rb b/activemodel/lib/active_model/state_machine.rb index bce90fd743..1172d31ea3 100644 --- a/activemodel/lib/active_model/state_machine.rb +++ b/activemodel/lib/active_model/state_machine.rb @@ -1,5 +1,10 @@ module ActiveModel module StateMachine + autoload :Event, 'active_model/state_machine/event' + autoload :Machine, 'active_model/state_machine/machine' + autoload :State, 'active_model/state_machine/state' + autoload :StateTransition, 'active_model/state_machine/state_transition' + class InvalidTransition < Exception end |