Class: Middleman::Navigation::ResourceListManipulator
- Inherits:
-
Object
- Object
- Middleman::Navigation::ResourceListManipulator
- Defined in:
- lib/middleman-navigation/resource_list_manipulator.rb
Instance Method Summary collapse
-
#initialize(sitemap) ⇒ ResourceListManipulator
constructor
A new instance of ResourceListManipulator.
- #manipulate_resource_list(resources) ⇒ Object
Constructor Details
#initialize(sitemap) ⇒ ResourceListManipulator
Returns a new instance of ResourceListManipulator.
4 5 6 |
# File 'lib/middleman-navigation/resource_list_manipulator.rb', line 4 def initialize(sitemap) @sitemap = sitemap end |