D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Kernel
/
Filename :
p-i.ri
back
Copy
U:RDoc::AnyMethod[iI"p:ETI" Kernel#p;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"%For each object +obj+, executes:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"&$stdout.write(obj.inspect, "\n") ;T:@format0o; ; [I"0With one object given, returns the object; ;TI"Kwith multiple objects given, returns an array containing the objects; ;TI")with no object given, returns +nil+.;T@o; ; [I"Examples:;T@o;; [ I"r = Range.new(0, 4) ;TI"#p r # => 0..4 ;TI"1p [r, r, r] # => [0..4, 0..4, 0..4] ;TI""p # => nil ;T; 0o; ; [I"Output:;T@o;; [I" 0..4 ;TI"[0..4, 0..4, 0..4] ;T; 0o; ; [ I"2Kernel#p is designed for debugging purposes. ;TI"DRuby implementations may define Kernel#p to be uninterruptible ;TI"in whole or in part. ;TI"=On CRuby, Kernel#p's writing of data is uninterruptible.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"Kp(object) -> obj p(*objects) -> array of objects p -> nil ;T0[ I"(*args);T@-FI"Kernel;TcRDoc::NormalModule00