Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
PP.pp
pp(obj, out=$>, width=width_for(out))
lib/pp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/pp.rb, line 95
def PP.pp(obj, out=$>, width=width_for(out))
q = PP.new(out, width)
q.guard_inspect_key {q.pp obj}
q.flush
#$pp = q
out << "\n"
end