I installed stable release of ruby ‘ruby 1.8.4 (2006-03-29)
[i686-linux]’ in my linux box. But, when I try to run ri on stdlib, say
Socket, it says ‘Nothing known about Socket.’ Running ‘ri Resolv’
resulted in the same message.
I’ve searched this list, but I couldn’t find any solution but for one
that recommends ‘ruby-doc.org’ which, unfortunately, does not contain
documentation for resolv.rb.
So, I loaded the source code of resolv.rb in vim and read the code and
comments. Is this the best we can do? Is there no way to see
documentaiton for stdlib conveniently?