module Guard
def deleted_paths(paths)
-
(Array
- the deleted paths)
Parameters:
-
paths
(Array
) -- the watched paths
Other tags:
- See: Guard::Listener#modified_files -
def deleted_paths(paths) paths.select { |f| f.respond_to?(:start_with?) && f.start_with?('!') }.map { |f| f.slice(1..-1) } end