Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No select! on 1.8.7

  • Loading branch information...
commit 4714d1835c6b4b1850e569b27b4d55222f7aa086 1 parent 61c7227
Conrad Irwin ConradIrwin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/pry/wrapped_module.rb
2  lib/pry/wrapped_module.rb
View
@@ -223,7 +223,7 @@ def all_source_locations_by_popularity
ims = all_methods_for(wrapped)
- ims.select!(&:source_location)
+ ims = ims.select(&:source_location)
@all_source_locations_by_popularity = ims.group_by { |v| Array(v.source_location).first }.
sort_by { |k, v| -v.size }
Please sign in to comment.
Something went wrong with that request. Please try again.