D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Kernel
/
Filename :
sleep-i.ri
back
Copy
U:RDoc::AnyMethod[iI" sleep:ETI"Kernel#sleep;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HSuspends execution of the current thread for the number of seconds ;TI"Jspecified by numeric argument +secs+, or forever if +secs+ is +nil+; ;TI"?returns the integer number of seconds suspended (rounded).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I".Time.new # => 2008-03-08 19:56:19 +0900 ;TI"sleep 1.2 # => 1 ;TI".Time.new # => 2008-03-08 19:56:20 +0900 ;TI"sleep 1.9 # => 2 ;TI"-Time.new # => 2008-03-08 19:56:22 +0900;T:@format0: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"%sleep(secs = nil) -> slept_secs ;T0[ I"(*args);T@FI"Kernel;TcRDoc::NormalModule00