Method: Dir#path

Defined in:
dir.c

#pathString?

Returns the path parameter passed to dir’s constructor.

d = Dir.new("..")
d.path   #=> ".."

Returns:



496
497
498
# File 'dir.c', line 496

static VALUE
dir_path(dir)
VALUE dir;