method

longest_common_subpath

longest_common_subpath(paths)
public

Given a collection of Pathname objects returns the longest subpath common to all of them, or nil if there is none.