method

pos

v1_8_7_72 - Show latest stable - Class: Dir
pos()
public

Returns the current position in dir. See also Dir#seek.

   d = Dir.new("testdir")
   d.tell   #=> 0
   d.read   #=> "."
   d.tell   #=> 12