method

path

v1_8_6_287 - Show latest stable - Class: Dir
path()
public

Returns the path parameter passed to dir’s constructor.

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