module Guard

def changed_paths(paths)

Returns:
  • (Array) - the changed paths

Parameters:
  • paths (Array) -- the watched paths

Other tags:
    See: Guard::Listener#modified_files -
def changed_paths(paths)
  paths.select { |f| !f.respond_to?(:start_with?) || !f.start_with?('!') }
end