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

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) }