I installed ruby-doc-stdlib-0.10.1 in my computer and open the index
file. I failed to show the method of String class. There are a lot of
packages in the left frame and I don’t know which one contains string
class. How can I search in ruby doc?
I often find myself not connected to the Internet and want to read
ruby-doc core and standard locally. What is the best way to get a local
copy of these libraries? I bet they come with the Ruby install, but I
have not been able to find them (running Ubuntu 9.03).
I installed ruby-doc-stdlib-0.10.1 in my computer and open the index
file. I failed to show the method of String class. There are a lot of
packages in the left frame and I don’t know which one contains string
class. How can I search in ruby doc?
Well, I think I found the answer to your question. You downloaded the
Standard library, which does not contain String. You need to download
the Core library from this location:
Then under the words, “The 1.8.6 Base Distribution RDoc HTML”
click on the “tgz file” link.
That will give you the core library for viewing locally. In there, you
can search by class and find String.
Well, I think I found the answer to your question. You downloaded the
Standard library, which does not contain String. You need to download
the Core library from this location: