Module: HrefScraper
- Defined in:
- lib/href_scraper.rb
Class Method Summary collapse
Class Method Details
.fetch_html(url) ⇒ Object
9 10 11 12 |
# File 'lib/href_scraper.rb', line 9 def self.fetch_html(url) html = open(url) Nokogiri::HTML(html) end |