U:RDoc::AnyMethod[iI"new:ETI"PrettyPrint::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Creates a buffer for pretty printing.;To:RDoc::Markup::BlankLineo; ; [ I"M+output+ is an output target. If it is not specified, '' is assumed. It ;TI"Gshould have a << method which accepts the first argument +obj+ of ;TI"NPrettyPrint#text, the first argument +sep+ of PrettyPrint#breakable, the ;TI"Lfirst argument +newline+ of PrettyPrint.new, and the result of a given ;TI"block for PrettyPrint.new.;T@o; ; [I"M+maxwidth+ specifies maximum line length. If it is not specified, 79 is ;TI"Eassumed. However actual outputs may overflow +maxwidth+ if long ;TI"&non-breakable texts are provided.;T@o; ; [I"L+newline+ is used for line breaks. "\n" is used if it is not specified.;T@o; ; [I"OThe block is used to generate spaces. {|width| ' ' * width} is used if it ;TI"is not given.;T: @fileI"lib/prettyprint.rb;T:0@omit_headings_from_table_of_contents_below000[I":(output=''.dup, maxwidth=79, newline="\n", &genspace);T@"FI"PrettyPrint;TcRDoc::NormalClass00