AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/IO/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/IO/rewind-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Positions <em>ios</em> to the beginning of input, resetting <tt>lineno</tt> 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