Method: Puma::DSL#on_stopped
- Defined in:
- lib/puma/dsl.rb
#on_stopped ⇒ Object
Code to run after puma is stopped (works for both: single and clustered)
848 849 850 851 852 |
# File 'lib/puma/dsl.rb', line 848 def after_stopped(&block) Puma.deprecate_method_change :on_stopped, __callee__, __method__ @config.events.after_stopped(&block) end |