From: Jarmo Pertman Date: 2010-06-28T23:59:59+09:00 Subject: Re: pretty inspecting objects? Richard Conroy wrote: > On Mon, Jun 28, 2010 at 2:02 PM, Jarmo Pertman > wrote: > >> it or should i start monkey-patching 'pp' to add that feature? >> >> > You might want to have a look at awesome print - a gem that is a > functional > replacement for pretty print. Thank you for the answers! I also noticed that there is a #pretty_inspect method after requiring 'pp': a.pretty_inspect does exactly the thing i want - returns a string. I'll look at that awesome print gem also :) Jarmo -- Posted via http://www.ruby-forum.com/.