= private = protected
split_names(path)
split_names(path) -> prefix, [name, …]
# File lib/pathname.rb, line 310 def split_names(path) names = [] while r = chop_basename(path) path, basename = r names.unshift basename end return path, names end