pp(obj, out=$>, width=79)
public
Outputs obj to out in pretty printed format of
width columns in width.
If out is omitted, $> is assumed. If width is omitted,
79 is assumed.
PP.pp returns out.
Show source
def PP.pp(obj, out=$>, width=79)
q = PP.new(out, width)
q.guard_inspect_key {q.pp obj}
q.flush
out << "\n"
end