1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/lib/aasm.rb

19 lines
399 B
Ruby
Raw Normal View History

2009-10-30 12:17:38 -04:00
require 'ostruct'
2013-05-03 17:48:12 -04:00
%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) }