Want to substitute text in a HTML document?
Take a look at
hpricot_text_gsub.rb
See the tests for usage examples. (Yes, I’m lazy.)
This little library was written while doing contract work for dela med noll – thanks to them for letting me share it!