Sha256: b09ffd0701b60a48e2c9c1372151796aa3cfba005e21b014b0df5860bfb76a21

Contents?: true

Size: 370 Bytes

Versions: 15

Compression:

Stored size: 370 Bytes

Contents

#coding: utf-8
require 'wombat/property/locators/property_group'

module Wombat
  module Property
    module Locators
      class Iterator < Base
      	def locate(context, page = nil)
          super do
            locate_nodes(context).flat_map do |node|
              filter_properties(node, page)
            end
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wombat-3.0.0 lib/wombat/property/locators/iterator.rb
wombat-2.10.0 lib/wombat/property/locators/iterator.rb
wombat-2.9.0 lib/wombat/property/locators/iterator.rb
wombat-2.8.0 lib/wombat/property/locators/iterator.rb
wombat-2.7.0 lib/wombat/property/locators/iterator.rb
wombat-2.6.0 lib/wombat/property/locators/iterator.rb
wombat-2.5.1 lib/wombat/property/locators/iterator.rb
wombat-2.5.0 lib/wombat/property/locators/iterator.rb
wombat-2.4.0 lib/wombat/property/locators/iterator.rb
wombat-2.3.0 lib/wombat/property/locators/iterator.rb
wombat-2.2.1 lib/wombat/property/locators/iterator.rb
wombat-2.2.0 lib/wombat/property/locators/iterator.rb
wombat-2.1.3 lib/wombat/property/locators/iterator.rb
wombat-2.1.2 lib/wombat/property/locators/iterator.rb
wombat-2.1.1 lib/wombat/property/locators/iterator.rb