Class: Middleman::PlaintextExtension
- Inherits:
-
Extension
- Object
- Extension
- Middleman::PlaintextExtension
- Defined in:
- lib/middleman-plaintext/extension.rb
Instance Method Summary collapse
-
#manipulate_resource_list(resources) ⇒ Object
A Sitemap Manipulator.
Instance Method Details
#manipulate_resource_list(resources) ⇒ Object
A Sitemap Manipulator
16 17 18 |
# File 'lib/middleman-plaintext/extension.rb', line 16 def manipulate_resource_list(resources) resources | resources.select(&method(:handled_by_us?)).map(&method(:textify)) end |