Relocate DslHelper from root namespace to under AASM namespace
`DslHelper` is a module for AASM and should not be located in the root namespace.
This commit is contained in:
parent
42b66b8377
commit
ccdb2172f8
|
@ -2,7 +2,7 @@
|
|||
|
||||
module AASM::Core
|
||||
class Event
|
||||
include DslHelper
|
||||
include AASM::DslHelper
|
||||
|
||||
attr_reader :name, :state_machine, :options
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module AASM::Core
|
||||
class Transition
|
||||
include DslHelper
|
||||
include AASM::DslHelper
|
||||
|
||||
attr_reader :from, :to, :event, :opts, :failures
|
||||
alias_method :options, :opts
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
module DslHelper
|
||||
module AASM
|
||||
module DslHelper
|
||||
|
||||
class Proxy
|
||||
attr_accessor :options
|
||||
|
@ -27,4 +28,5 @@ module DslHelper
|
|||
proxy.options
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue