Class: Wovnrb::Settings::IgnoreGlobsWrapper
- Inherits:
-
Array
- Object
- Array
- Wovnrb::Settings::IgnoreGlobsWrapper
- Defined in:
- lib/wovnrb/settings.rb
Instance Method Summary collapse
Instance Method Details
#ignore?(uri) ⇒ Boolean
40 41 42 43 44 |
# File 'lib/wovnrb/settings.rb', line 40 def ignore?(uri) path = Addressable::URI.parse(uri).path any? { |glob| glob.match?(path) } end |