Method: Polipus::Page#discard_doc!
- Defined in:
- lib/polipus/page.rb
#discard_doc! ⇒ Object
Delete the Nokogiri document and response body to conserve memory
101 102 103 104 |
# File 'lib/polipus/page.rb', line 101 def discard_doc! links # force parsing of page links before we trash the document @doc = @body = nil end |