Class: Wombat::Property::Locators::Iterator
- Defined in:
- lib/wombat/property/locators/iterator.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Wombat::Processing::NodeSelector
Constructor Details
This class inherits a constructor from Wombat::Property::Locators::Base
Instance Method Details
#locate(context, page = nil) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/wombat/property/locators/iterator.rb', line 8 def locate(context, page = nil) super do locate_nodes(context).flat_map do |node| filter_properties(node, page) end end end |