Permalink
Browse files

AM::StateMachine autoloads

  • Loading branch information...
1 parent a1140a1 commit 5481e5417525a027af3d7071826d0771a406e184 @jeremy jeremy committed May 30, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 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

0 comments on commit 5481e54

Please sign in to comment.