⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
PrettyPrint
/
View File Name :
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"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[@\@\cRDoc::TopLevel