On Tue, Sep 10, 2002 at 11:28:43PM +0900, Steve Tuckner wrote:
> How do I find all occurances of in the code where objects of type Foo are doing
> foo[index]? Searching for [] is no help because that is likely all over the
> code. There are no type declarations to find instances of foo. I can search for
> Foo.new and follow it through functions, etc but that is often not simple.

How about adding some logging code to def [] and running your unit tests again.
Or you could just comment out def [] and see what complains when you're running.

puts "called [] #{__FILE__}:#{__LINE__}"

Cheers,
- alan

-- 
Alan Chen
Digikata LLC
http://digikata.com