class Bake::Loaders

def append_from_root(current = Dir.pwd, **options)

@parameter current [String] The path to start searching from.
Search from the current working directory until a suitable bakefile is found and add it.
def append_from_root(current = Dir.pwd, **options)
	while current
		append_path(current, **options)
		
		parent = File.dirname(current)
		
		if current == parent
			break
		else
			current = parent
		end
	end
end