Class: Middleman::Sitemap::Extensions::Ignores::RegexpIgnoreDescriptor

Inherits:
IgnoreDescriptor
  • Object
show all
Defined in:
lib/middleman-core/sitemap/extensions/ignores.rb

Instance Attribute Summary

Attributes inherited from IgnoreDescriptor

#block, #path

Instance Method Summary collapse

Instance Method Details

#ignored?(match_path) ⇒ Boolean

Returns:

  • (Boolean)


56
57
58
# File 'lib/middleman-core/sitemap/extensions/ignores.rb', line 56

def ignored?(match_path)
  match_path =~ path
end