Method: ActiveSupport::Rescuable#handler_for_rescue

Defined in:
activesupport/lib/active_support/rescuable.rb

#handler_for_rescue(exception) ⇒ Object

Internal handler lookup. Delegates to class method. Some libraries call this directly, so keeping it around for compatibility.



172
173
174
# File 'activesupport/lib/active_support/rescuable.rb', line 172

def handler_for_rescue(exception) # :nodoc:
  self.class.handler_for_rescue exception, object: self
end