mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
16 lines
928 B
Ruby
16 lines
928 B
Ruby
require 'ostruct'
|
|
|
|
# TODO shorten this [thorsten, 2011-12-20]
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'version')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'errors')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'base')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'supporting_classes', 'state_transition')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'supporting_classes', 'event')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'supporting_classes', 'state')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'supporting_classes', 'localizer')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'state_machine')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'persistence')
|
|
require File.join(File.dirname(__FILE__), 'aasm', 'aasm')
|
|
|
|
# load the deprecated methods and modules
|
|
Dir[File.join(File.dirname(__FILE__), 'aasm', 'deprecated', '*.rb')].sort.each { |f| require File.expand_path(f) }
|