Class: Scruber::Core::PageFormat::XML

Inherits:
Base show all
Defined in:
lib/scruber/core/page_format/xml.rb

Class Method Summary collapse

Class Method Details

.process(page) ⇒ Object



5
6
7
# File 'lib/scruber/core/page_format/xml.rb', line 5

def self.process(page)
  Nokogiri::XML(page.response_body) rescue nil
end