vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/helpers/location.rb
#
# Current file in the target binding. Used as the default breakpoint
# location.
#
Current file in the target binding. Used as the default breakpoint
location.
Current file in the target binding . Used as the default breakpoint location .
def current_file(source = target)
        return source.source_location[0] if source.respond_to?(:source_location)
        source.eval("__FILE__")
      end
def current_file ( source = target ) return source . source_location [ 0 ] if source . respond_to? ( :source_location ) source . eval ( "__FILE__" ) end
Current file in the target binding.
Current file in the target binding .
# Guard clause for Ruby >= 2.6 providing now Binding#source_location ... # ... to avoid warning: 'eval may not return location in binding'
source
target