class method
PP.pp
(::PP::_PrettyPrint obj, ?::PP::_LeftShift out, ?::Integer width) -> untyped
pp(obj, out=$>, width=width_for(out))
lib/pp.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/pp.rb, line 96
def PP.pp(obj, out=$>, width=width_for(out))
q = new(out, width)
q.guard_inspect_key {q.pp obj}
q.flush
#$pp = q
out << "\n"
end