Flowdock
seek(p1) public

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                   #=> ".."
Show source
Register or log in to add new notes.