More strict module loading required by newer ruby versions

This commit is contained in:
2019-10-11 07:20:34 -05:00
parent 9d06b6cf6c
commit c676bb98fe
20 changed files with 65 additions and 62 deletions
+2 -2
View File
@@ -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