class Wovnrb::Settings::IgnoreGlobsWrapper

Public Instance Methods

ignore?(uri) click to toggle source
# File lib/wovnrb/settings.rb, line 40
def ignore?(uri)
  path = Addressable::URI.parse(uri).path

  any? { |glob| glob.match?(path) }
end