method
format
v1_8_7_72 -
Show latest stable
- Class:
PrettyPrint
format(output='', maxwidth=79, newline="\\n", genspace=lambda {|n| ' ' * n}public
This is a convenience method which is same as follows:
begin q = PrettyPrint.new(output, maxwidth, newline, &genspace) ... q.flush output end