Skip to content

Instantly share code, notes, and snippets.

@eovolkov
Last active August 29, 2015 14:24
Show Gist options
  • Save eovolkov/d479b50ac66f4d572a62 to your computer and use it in GitHub Desktop.
Save eovolkov/d479b50ac66f4d572a62 to your computer and use it in GitHub Desktop.
Getting Ruby documentation from command line
#If you're using RVM to manage your ruby installations you can do this:
rvm docs generate
#if not, try doing this:
gem install rdoc-data rdoc-data --install
#Example
ri String.capitalize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment