📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 07:47:32
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Kernel
📍 /opt/alt/ruby33/share/ri/system/Kernel
🔄 Refresh
✏️
Editing: printf-i.ri
Read Only
U:RDoc::AnyMethod[iI"printf:ETI"Kernel#printf;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Equivalent to:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"0io.write(sprintf(format_string, *objects)) ;T:@format0o; ; [I")For details on +format_string+, see ;TI"B{Format Specifications}[rdoc-ref:format_specifications.rdoc].;T@o; ; [I"RWith the single argument +format_string+, formats +objects+ into the string, ;TI"1then writes the formatted string to $stdout:;T@o;; [I".printf('%4.4d %10s %2.2f', 24, 24, 24.0) ;T; 0o; ; [I"Output (on $stdout):;T@o;; [I"0024 24 24.00# ;T; 0o; ; [I"QWith arguments +io+ and +format_string+, formats +objects+ into the string, ;TI".then writes the formatted string to +io+:;T@o;; [I"7printf($stderr, '%4.4d %10s %2.2f', 24, 24, 24.0) ;T; 0o; ; [I"Output (on $stderr):;T@o;; [I"#0024 24 24.00# => nil ;T; 0o; ; [I"%With no arguments, does nothing.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"eprintf(format_string, *objects) -> nil printf(io, format_string, *objects) -> nil ;T0[ I"(*args);T@3FI"Kernel;TcRDoc::NormalModule00
💾 Save Changes
❌ Cancel