class Addressable::URI
def split_path(path)
-
(Array
- An array of parts of path.)
Parameters:
-
path
(String
) -- The path to split.
def split_path(path) splitted = path.split(SLASH) splitted << EMPTY_STR if path.end_with? SLASH splitted end