class Build::Files::Monitor
def purge(handle)
def purge(handle) handle.directories.each do |directory| @directories[directory].delete(handle) # Remove the entire record if there are no handles: if @directories[directory].size == 0 @directories.delete(directory) @updated = true end end end