class Build::Files::Path

def self.components(path)

Returns a list of components for a path, either represented as a Path instance or a String.
def self.components(path)
	if Path === path
		path.components
	else
		path.split(File::SEPARATOR)
	end
end