D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby27
/
share
/
gems
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
RewindableInput
/
Filename :
cdesc-RewindableInput.ri
back
Copy
U:RDoc::NormalClass[iI"RewindableInput:ETI"Rack::RewindableInput;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"[Class which can make any IO object rewindable, including non-rewindable ones. It does ;TI"Ethis by buffering the data into a tempfile, which is rewindable.;To:RDoc::Markup::BlankLine o; ;[I"ZDon't forget to call #close when you're done. This frees up temporary resources that ;TI"MRewindableInput uses, though it does *not* close the original IO object.;T: @fileI"!lib/rack/rewindable_input.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I"new;TI"!lib/rack/rewindable_input.rb;T[:protected[ [:private[ [I" instance;T[[; [[I" close;T@#[I" each;T@#[I" gets;T@#[I" read;T@#[I"rewind;T@#[I" size;T@#[;[ [;[[I"$filesystem_has_posix_semantics?;T@#[I"make_rewindable;T@#[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Rack;TcRDoc::NormalModule