Class: Middleman::Sitemap::Extensions::Ignores::BlockIgnoreDescriptor

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)


78
79
80
# File 'middleman-core/lib/middleman-core/sitemap/extensions/ignores.rb', line 78

def ignored?(match_path)
  block.call(match_path)
end