split_all.rb

Path: lib/facets/core/file/self/split_all.rb
Last Update: Sat Dec 15 01:55:13 +0000 2007

Splits a file path into an array of individual path components. This differs from File.split, which divides the path into only two parts, directory path and basename.

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

[Validate]