U:RDoc::AnyMethod[iI"rewind:ETI"IO#rewind;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"APositions ios to the beginning of input, resetting ;TI"!lineno
to zero.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"f = File.new("testfile")
;TI"+f.readline #=> "This is line one\n"
;TI"f.rewind #=> 0
;TI"f.lineno #=> 0
;TI"+f.readline #=> "This is line one\n"
;T:@format0o;
; [I"ONote that it cannot be used with streams such as pipes, ttys, and sockets.;T:
@fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"ios.rewind -> 0
;T0[ I"();T@FI"IO;TcRDoc::NormalClass00