D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Timeout
/
Filename :
cdesc-Timeout.ri
back
Copy
U:RDoc::NormalModule[iI"Timeout:ET@0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I" Timeout long-running blocks;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI" Synopsis;T@o:RDoc::Markup::Verbatim;[ I"require 'timeout' ;TI"#status = Timeout.timeout(5) { ;TI"Q # Something that should be interrupted if it takes more than 5 seconds... ;TI"} ;T:@format0S;;i; I"Description;T@o; ;[I"ITimeout provides a way to auto-terminate a potentially long-running ;TI"?operation if it hasn't finished in a fixed amount of time.;T@S;;i; I"Copyright;T@o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"Copyright;T;[o; ;[I"=(C) 2000 Network Applied Communication Laboratory, Inc.;To;;[I"Copyright;T;[o; ;[I"=(C) 2000 Information-technology Promotion Agency, Japan;T: @fileI"lib/timeout.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"VERSION;TI"Timeout::VERSION;T:public0o;;[o; ;[I"The version;T;@0;0@0@cRDoc::NormalModule0[ [[I" class;T[[;[[I"timeout;TI"lib/timeout.rb;T[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[@E@F[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@0@0cRDoc::TopLevel