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

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

Instance Attribute Summary

Attributes inherited from IgnoreDescriptor

#block, #path

Instance Method Summary collapse

Methods inherited from IgnoreDescriptor

#execute_descriptor

Instance Method Details

#ignored?(match_path) ⇒ Boolean

Returns:

  • (Boolean)

52
53
54
# File 'middleman-core/lib/middleman-core/sitemap/extensions/ignores.rb', line 52

def ignored?(match_path)
  match_path =~ path
end