Flowdock
method

to_path

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Dir
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.