dir.rewind â dir
Instance Public methods
Repositions dir to the first entry.
1 2 3 4 | d = Dir . new ( "testdir" ) d.read #=> "." d.rewind #=> #<Dir:0x401b3fb0> d.read #=> "." |
Repositions dir to the first entry.
1 2 3 4 | d = Dir . new ( "testdir" ) d.read #=> "." d.rewind #=> #<Dir:0x401b3fb0> d.read #=> "." |
Designed by : w10schools
service@w10schools.com
Please login to continue.