method

split_all

split_all(path)
public

Split a file path into individual directory names.

Example:

split_all("a/b/c") =>  ['a', 'b', 'c']