Class: Scruber::Core::PageFormat::XML
- 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 |