1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib
Conrad Irwin b9ad968d33 Order candidates by load order correctly
Instead of relying just on the filename, which differs between
variations of ruby, order by position of the file in $LOADED_FEATURES.

On ruby-1.8 $LOADED_FEATURES contains relative paths, so we use
end_with?. This happily also works for absolute paths if we first
normalize with a pass of File.expand_path.
2013-03-23 01:28:28 -07:00
..
pry Order candidates by load order correctly 2013-03-23 01:28:28 -07:00
pry.rb Handle evil classes that define 'ancestors' 2013-02-26 07:28:37 -06:00