method

fileno

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Dir

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

fileno() public

Returns the file descriptor used in dir.

d = Dir.new("..")
d.fileno   #=> 8

This method uses dirfd() function defined by POSIX 2008. NotImplementedError is raised on other platforms, such as Windows, which doesn’t provide the function.

Show source
Register or log in to add new notes.