dir.seek( integer ) â dir
Instance Public methods
Seeks to a particular location in dir. integer must be a
value returned by Dir#tell
.
d = Dir.new("testdir") #=> #<Dir:0x401b3c40> d.read #=> "." i = d.tell #=> 12 d.read #=> ".." d.seek(i) #=> #<Dir:0x401b3c40> d.read #=> ".."
Please login to continue.