The default list of directories that get ignored.
The default list of files that get ignored.
# File lib/listen/silencer.rb, line 54 def match(args) path, type = args.first silenced?(path, type) end
# File lib/listen/silencer.rb, line 42 def silenced?(path, type = 'Unknown') silenced = false relative_path = _relative_path(path) if only_patterns && type == 'File' silenced = !only_patterns.any? { |pattern| relative_path =~ pattern } end silenced || ignore_patterns.any? { |pattern| relative_path =~ pattern } end
Generated with the Darkfish Rdoc Generator 2.