rking / pry-full

Get up and going with a good set of pry tools right away.
Other
14 stars 2 forks source link

Re-add awesome_print itself #3

Open rking opened 11 years ago

rking commented 11 years ago

pry-awesome_print currently busts paging, and besides it's not really what you always want.

Better is to be able to always toss in:

ap some_obj

So, this Issue refers to:

skull-squadron commented 11 years ago

It's better for the community if we work together, not tear other people's projects down without either feedback or credit.

https://github.com/steakknife/pry-awesome_print/issues/1

skull-squadron commented 11 years ago

Preconfigure AwesomePrint.defaults using ~/.aprc or similar method via https://github.com/steakknife/pry-awesome_print/issues/3

rking commented 11 years ago

Hi @steakknife

Sorry it came out as a tear-down.

The whole job of pry-full is to be a gateway so that people can get a ton of plugins, but not get any breakage (e.g. as they would if they installed every pry-___ gem on rubygems). When I pinpointed pry-awesomeprint as the thing that was causing paging not to work, I thought about whether I wanted it on by default or not, and that's when I decided that, for me, it's nice to have the 2 modes: default as compact, but `ap ` on the quickdraw.

I suppose I can always just .inspect if I want the plain output. I'll think about it/play with it.

Anyway, much appreciation for the fix, even with my attitude about the whole thing.*