Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Why doesn't ri look into ancestor classes to find help?

Thread Tools

Why doesn't ri look into ancestor classes to find help?

Ilmari Heikkinen
Posts: n/a

This has flummoxed me quite a bit in using ri for finding method docs.
Why doesn't this work?

ri Hash#map

(ruby 1.8.2, ruby 1.9.0 (2005-01-09))

RDoc should have all the required info it needs to walk up the
ancestors, since it knows the superclass of the class, and the modules
mixed in. So when there isn't a hit, it should go up in the hierarchy
instead of saying "Nothing known about Hash#map" and giving up.

A little persistence, that is all I ask.

Ilmari Heikkinen

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cast classes to common ancestor C++ 4 10-07-2007 04:13 AM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
org.apache.jasper.JasperException: Could not find ancestor parseTag Java 0 03-07-2005 07:05 PM
How to find out the Parent or the Ancestor Node. Eshrath XML 3 10-27-2004 02:47 AM
How to run _init for all ancestor classes in diamond inheritance Amir Karger Perl Misc 9 12-10-2003 03:59 PM