method

to_path

Importance_1
to_path() public

Returns the path parameter passed to dir’s constructor.

d = Dir.new("..")
d.path   #=> ".."
Show source
Register or log in to add new notes.