method

tell

v1_9_3_392 - Show latest stable - Class: Dir
tell()
public

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

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