Sha256: 461afebe985ea104accbc737a950f27915b1c66d135be9ffec4f2fa579e24fcc

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

#coding: utf-8

module Wombat
	module Property
	  module Locators
	    class Follow < Base
	    	def locate(context, page = nil)
	    		super do
            locate_nodes(context).flat_map do |node|
              target_page = page.click node
              context = target_page.parser

              filter_properties(context, page)
            end
          end
	    	end
	    end
	  end
	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wombat-2.2.1 lib/wombat/property/locators/follow.rb
wombat-2.2.0 lib/wombat/property/locators/follow.rb
wombat-2.1.3 lib/wombat/property/locators/follow.rb
wombat-2.1.2 lib/wombat/property/locators/follow.rb
wombat-2.1.1 lib/wombat/property/locators/follow.rb