|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/PrettyPrint/ |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params: q
comment:
- !ruby/struct:SM::Flow::P
body: "This is a convenience method which is same as follows:"
- !ruby/struct:SM::Flow::VERB
body: " begin\n q = PrettyPrint.new(output, maxwidth, newline, &genspace)\n ...\n q.flush\n output\n end\n"
full_name: PrettyPrint::format
is_singleton: true
name: format
params: (output='', maxwidth=79, newline="\n", genspace=lambda {|n| ' ' * n} {|q| ...}
visibility: public