class Nokogiri::HTML::Document

def title

no title tag.
Get the title string of this document. Return nil if there is
##
def title
  title = at('//title') and title.inner_text
end