module HrefScraper
Public Class Methods
fetch_html(url)
click to toggle source
# File lib/href_scraper.rb, line 9 def self.fetch_html(url) html = open(url) Nokogiri::HTML(html) end
# File lib/href_scraper.rb, line 9 def self.fetch_html(url) html = open(url) Nokogiri::HTML(html) end