Method: HTML::Pipeline::Filter#doc
- Defined in:
- lib/html/pipeline/filter.rb
#doc ⇒ Object
The Nokogiri::HTML::DocumentFragment to be manipulated. If the filter was provided a String, parse into a DocumentFragment the first time this method is called.
58 59 60 |
# File 'lib/html/pipeline/filter.rb', line 58 def doc @doc ||= parse_html(html) end |