class Puma::DSL
def after_stopped(&block)
end
puts 'After stopping...'
after_stopped do
@example
Code to run after puma is stopped (works for both: single and clustered)
def after_stopped(&block) Puma.deprecate_method_change :on_stopped, __callee__, __method__ @config.events.after_stopped(&block) end