Sha256: 8da1d18c81d8d534ab92600ffc70faf298e180838018a8f14971a3d1ebdc2fc5

Contents?: true

Size: 747 Bytes

Versions: 5

Compression:

Stored size: 747 Bytes

Contents

require 'state_shifter/state'
require 'state_shifter/event'
require 'state_shifter/definition'
require 'state_shifter/definition/contents'
require 'state_shifter/definition/class_methods'
require 'state_shifter/definition/instance_methods'
require 'state_shifter/definition/active_record_integration_methods'
require 'state_shifter/draw'

require 'state_shifter/railtie' if defined?(Rails)

module StateShifter

  class TransitionHalted < Exception ; end
  class GuardMethodUndefined < Exception ; end
  class GuardNotSatisfied < Exception ; end
  class CallbackMethodNotDefined < Exception ; end
  class RedifiningEvent < Exception ; end
  class RedifiningState < Exception ; end
  class PersistenceAttributeAlreadyDefined < Exception ; end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
state_shifter-1.1.3 lib/state_shifter.rb
state_shifter-1.1.2 lib/state_shifter.rb
state_shifter-1.0.7 lib/state_shifter.rb
state_shifter-1.0.5 lib/state_shifter.rb
state_shifter-1.0.3 lib/state_shifter.rb