1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Ryan Fitzgerald
4aed2ab1c0 Fix default inspect for Ruby 2.1
In Ruby 2.1, the ancestor list of a singleton class includes the
singleton as the first element, so we need to filter it out.
2014-01-19 18:00:28 -08:00
Ryan Fitzgerald
5fd4074ae7 Fix warnings 2013-11-09 19:14:20 -08:00
Ryan Fitzgerald
d0f198bd64 Fix a couple of SimplePager bugs
* Exiting with q was broken by d703320e38.

* We were only removing color codes in the case where the input string
  ends with a newline, which means we were overestimating the length of
  strings that don't end with newlines. After fixing that, SimplePager
  can accurately page through the inspect output for _pry_.
2013-11-02 15:46:41 -07:00
Ryan Fitzgerald
d703320e38 Fix inspect fallback for weird objects 2013-11-02 15:09:39 -07:00
Ryan Fitzgerald
54e4729727 Stream colorized inspect output into pagers 2013-11-02 14:20:56 -07:00