method

pos

v1_9_2_180 - 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