Last active
August 29, 2015 14:24
-
-
Save eovolkov/d479b50ac66f4d572a62 to your computer and use it in GitHub Desktop.
Getting Ruby documentation from command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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