L
Lloyd Zusman
What is the recommended method to view the rdocs for gems that
I have installed? I know that I can go the directory under which a
given gem lives and view the documentation that exists there, but I'm
wondering if there is some other way to view these that doesn't
require the user to know the exact installation directory of each gem.
Ideally, I'd like the user to not even have to know that the docs
pertain to a gem ... in other words, some sort of wrapper around
"ri" that figures out whether a given package is a gem or not, and
then uses the appropriate method to display the docs.
I'm willing to write a script to hide the messy details of this, but I'd
prefer not to re-invent the wheel, if something already exists.
Ideas?
Thanks in advance.
I have installed? I know that I can go the directory under which a
given gem lives and view the documentation that exists there, but I'm
wondering if there is some other way to view these that doesn't
require the user to know the exact installation directory of each gem.
Ideally, I'd like the user to not even have to know that the docs
pertain to a gem ... in other words, some sort of wrapper around
"ri" that figures out whether a given package is a gem or not, and
then uses the appropriate method to display the docs.
I'm willing to write a script to hide the messy details of this, but I'd
prefer not to re-invent the wheel, if something already exists.
Ideas?
Thanks in advance.