Your IP : 3.139.235.100
--- !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