Method: Anemone::Page#doc

Defined in:
lib/anemone/page.rb

#docObject

Nokogiri document for the HTML body



75
76
77
78
# File 'lib/anemone/page.rb', line 75

def doc
  return @doc if @doc
  @doc = Nokogiri::HTML(@body) if @body && html? rescue nil
end