mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
AM::StateMachine autoloads
This commit is contained in:
parent
a1140a1031
commit
5481e54175
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue