Get directory portion of a path
String
The directory portion of the path.
path_dirname("/home/user/data.csv") # => "/home/user"