File: C:/Ruby27-x64/share/ri/2.7.0/system/PrettyPrint/cdesc-PrettyPrint.ri
U:RDoc::NormalClass[iI"PrettyPrint:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"QThis class implements a pretty printing algorithm. It finds line breaks and ;TI"-nice indentations for grouped structure.;To:RDoc::Markup::BlankLine o; ;[I"PBy default, the class assumes that primitive elements are strings and each ;TI"Mbyte in the strings have single column in width. But it can be used for ;TI"Dother situations by giving suitable arguments for some methods:;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"Bnewline object and space generation block for PrettyPrint.new;To;;0;[o; ;[I"1optional width argument for PrettyPrint#text;To;;0;[o; ;[I"PrettyPrint#breakable;T@o; ;[I"&There are several candidate uses:;To;;;
;[o;;0;[o; ;[I"-text formatting using proportional fonts;To;;0;[o; ;[I"Hmultibyte characters which has columns different to number of bytes;To;;0;[o; ;[I"non-string formatting;T@S:RDoc::Markup::Heading:
leveli: textI" Bugs;To;;;
;[o;;0;[o; ;[I"Box based formatting?;To;;0;[o; ;[I"$Other (better) model/algorithm?;T@o; ;[I"1Report any bugs at http://bugs.ruby-lang.org;T@S;;i;I"References;To; ;[I"4Christian Lindig, Strictly Pretty, March 2000, ;TI"6http://www.st.cs.uni-sb.de/~lindig/papers/#pretty;T@o; ;[I"4Philip Wadler, A prettier printer, March 1998, ;TI"Nhttp://homepages.inf.ed.ac.uk/wadler/topics/language-design.html#prettier;T@S;;i;I"Author;To; ;[I" Tanaka Akira <akr@fsij.org>;T:
@fileI"lib/prettyprint.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[
I"
genspace;TI"R;T:publicFI"%../ruby-2.7.7/lib/prettyprint.rb;T[
I"group_queue;T@`;F@a[
I"indent;T@`;F@a[
I"
maxwidth;T@`;F@a[
I"newline;T@`;F@a[
I"output;T@`;F@a[ [ [[I"
class;T[[;[[I"format;T@a[I"new;T@a[I"singleline_format;T@a[:protected[ [:private[ [I"
instance;T[[;[[I"break_outmost_groups;T@a[I"breakable;T@a[I"current_group;T@a[I"fill_breakable;T@a[I"
flush;T@a[I"
group;T@a[I"group_sub;T@a[I" nest;T@a[I" text;T@a[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I"lib/prettyprint.rb;T@\cRDoc::TopLevel