module Puma
def self.deprecate_method_change(method_old, method_caller, method_new)
Puma.deprecate_method_change :on_booted, __callee__, __method__
@example
Shows deprecated warning for renamed methods.
def self.deprecate_method_change(method_old, method_caller, method_new) if method_old == method_caller warn "Use '#{method_new}', '#{method_caller}' is deprecated and will be removed in v8" end end