More strict module loading required by newer ruby versions
This commit is contained in:
@@ -43,11 +43,11 @@ module Dunlop::OverdueHandling
|
||||
workflow_step_proxy = WorkflowStepProxy.new(workflow_step, options)
|
||||
workflow_step_proxy.instance_eval(&block) if block
|
||||
workflow_step_proxy.register_callbacks!
|
||||
Dunlop::OverdueHandling.registry[workflow_step] = workflow_step_proxy
|
||||
::Dunlop::OverdueHandling.registry[workflow_step] = workflow_step_proxy
|
||||
end
|
||||
|
||||
def the_final_states_are(states)
|
||||
Dunlop::OverdueHandling.final_states = states
|
||||
::Dunlop::OverdueHandling.final_states = states
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user