Hpricot is really old. just ignore it and use nokogiri.
better English
uses guard
trivial cosmetic change
indentation
indentation
be more explicit
attempting to fix 80-witdh
coding convention