mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
![]() 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. |
||
---|---|---|
.. | ||
pry | ||
pry.rb |