method

split_all

ruby latest stable - Class: Sys

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

split_all(path)
public

Split a file path into individual directory names.

For example:

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