--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Positions ios to the beginning of input, resetting lineno to zero. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.readline #=> "This is line one\\n"\n f.rewind #=> 0\n f.lineno #=> 0\n f.readline #=> "This is line one\\n"\n" full_name: IO#rewind is_singleton: false name: rewind params: | ios.rewind => 0 visibility: public