Class: Middleman::Sitemap::Extensions::Ignores::StringIgnoreDescriptor

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

Methods inherited from IgnoreDescriptor

#execute_descriptor

Instance Method Details

#ignored?(match_path) ⇒ Boolean

Returns:

  • (Boolean)


72
73
74
# File 'lib/middleman-core/sitemap/extensions/ignores.rb', line 72

def ignored?(match_path)
  match_path == path
end