Module: ReactiveRecord::Pry

Defined in:
lib/reactive_record/pry.rb

Class Method Summary collapse

Class Method Details

.rescued(e) ⇒ Object



5
6
7
8
9
# File 'lib/reactive_record/pry.rb', line 5

def self.rescued(e)
  if defined?(PryRescue) && e.instance_variable_defined?(:@rescue_bindings) && !e.is_a?(ReactiveRecord::AccessViolation)
    ::Pry::rescued(e)
  end
end