Class: DoctorScrape::Scraper::Unknown

Inherits:
Base
  • Object
show all
Defined in:
lib/doctor_scrape/scraper/unknown.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

#doc, #errors?, #initialize, #url

Constructor Details

This class inherits a constructor from DoctorScrape::Scraper::Base

Instance Method Details

#errorsObject



6
7
8
# File 'lib/doctor_scrape/scraper/unknown.rb', line 6

def errors
  [ "Don't know how to scrape this page" ]
end

#fetchObject



14
15
16
# File 'lib/doctor_scrape/scraper/unknown.rb', line 14

def fetch
  false
end

#scrapeObject



10
11
12
# File 'lib/doctor_scrape/scraper/unknown.rb', line 10

def scrape
  false
end