Sha256: 2027a3140176a5feb2e58f29b9f6735a4bf83454b1dfea0dcf696fe53af4404a
Contents?: true
Size: 594 Bytes
Versions: 8
Compression:
Stored size: 594 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| mechanize_page = context.mechanize_page link = Mechanize::Page::Link.new(node, page, mechanize_page) target_page = page.click link context = target_page.parser context.mechanize_page = mechanize_page filter_properties(context, page) end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems