Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
IO
/
//opt/alt/ruby27/share/ri/system/IO/rewind-i.ri
U:RDoc::AnyMethod[iI"rewind:ETI"IO#rewind;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"APositions <em>ios</em> 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