method

pos

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