pry--pry/lib
Takashi Kokubun 272b3290b5 Fix Ruby 2.6 warning for Binding#source_location
eval('[__FILE__, __LINE__]') will not work in future Ruby.
Let's stop using it when Binding#source_location is available because it
prints noisy warnings.

Since Binding#source_location is added in Ruby 2.6
https://github.com/ruby/ruby/commit/571e48b7442, this commit is leaving
old code with branching by binding.respond_to?(:source_location).

Fixes #1871
2018-12-11 11:10:55 +09:00
..
pry Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
pry.rb Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00