Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. 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.