Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

PP.singleline_pp

singleline_pp(obj, out=$>)

Outputs obj to out like PP.pp but with no indent and newline.

PP.singleline_pp returns out.