Closed lyang closed 3 years ago
pry (0.12.x) causes warnings on Ruby 2.7:
pry (0.12.x)
<main>:1: warning: __FILE__ in eval may not return location in binding; use Binding#source_location instead /Users/jin/.anyenv/envs/rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/pry-0.12.2/lib/pry/commands/whereami.rb:40: warning: in `eval'
The warning has been fixed since pry (0.13) See details in https://github.com/pry/pry/issues/2097
pry (0.13)
method_source has to be updated to 1.0 for pry (0.13)
method_source
1.0
pry (0.12.x)
causes warnings on Ruby 2.7:The warning has been fixed since
pry (0.13)
See details in https://github.com/pry/pry/issues/2097Note
method_source
has to be updated to1.0
forpry (0.13)