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