Reworked to support different ruby doc sites.

ruby-doc.org
rubydoc.info/stdlib
apidock.com/ruby