# File lib_core/rucy/document.rb, line 622 def search(mount_map, path) Request.scan(path) do |mount_path, path_info| if (node = mount_map[mount_path]) then for mask, document in node[:mask_list] if (mask === path_info) then return document, mount_path end end if (document = node[:document]) then return document, mount_path end end end nil end