This is to resolve the currently failing spec on removing the internal implementation of Binding#source_location by April 2021.
As I currently work on two applications some what stuck on Ruby 2.5 for the time being I would like to continue to use newer versions of pry-rescue without having to upgrade first, I also provided the option to manually require 'pry-rescue/source_location' if using a version of Ruby that doesn't have the built in source_location.
This is to resolve the currently failing spec on removing the internal implementation of
Binding#source_location
by April 2021.As I currently work on two applications some what stuck on Ruby 2.5 for the time being I would like to continue to use newer versions of pry-rescue without having to upgrade first, I also provided the option to manually
require 'pry-rescue/source_location'
if using a version of Ruby that doesn't have the built in source_location.