Module: RescueEach

Defined in:
lib/rescue_each.rb

Defined Under Namespace

Modules: ActiveRecord, CoreExt Classes: Error

Class Method Summary collapse

Class Method Details

.pass_through_exception?(exception) ⇒ Boolean

Returns:

  • (Boolean)


74
75
76
# File 'lib/rescue_each.rb', line 74

def self.pass_through_exception?(exception)
  %w(Interrupt IRB::Abort SignalException).include? exception.class.name
end