class Docwatch::HtmlRenderer
Public Instance Methods
body()
click to toggle source
# File lib/docwatch/renderer/html.rb, line 13 def body doc.at('body')&.inner_html end
doc()
click to toggle source
# File lib/docwatch/renderer/html.rb, line 5 def doc Nokogiri::HTML(contents) end
head()
click to toggle source
# File lib/docwatch/renderer/html.rb, line 9 def head doc.at('head')&.inner_html end