mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
18 lines
399 B
Ruby
18 lines
399 B
Ruby
require 'ostruct'
|
|
|
|
%w(
|
|
version
|
|
errors
|
|
base
|
|
instance_base
|
|
transition
|
|
event
|
|
state
|
|
localizer
|
|
state_machine
|
|
persistence
|
|
aasm
|
|
).each { |file| require File.join(File.dirname(__FILE__), 'aasm', file) }
|
|
|
|
# load the deprecated methods and modules
|
|
Dir[File.join(File.dirname(__FILE__), 'aasm', 'deprecated', '*.rb')].sort.each { |f| require File.expand_path(f) }
|