Installing Ruby documentation locally with rvm
rvm docs generate-ri
Once installed you can do things at the command line like:
ri File
Which will print all the documentation for the file class.
I have a co-worker that will admonish you for not having ruby documentation close at hand (read: locally). I mean, what if you're deep in the Pensylvannia hills on a 1G connection and you need some help with the http
api?
H/T Brian Dunn
Tweet