Skip to content
instance method

Pathname#dirname

() -> ::Pathname
dirname

See File.dirname. Returns all but the last component of the path.

See also #directory? #each_child #descend #each_entry also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0