reactrb/reactive-record

View on GitHub
lib/reactive_record/pry.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ReactiveRecord

  module Pry

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

  end

end