From: Nicholas Wieland Date: 2005-05-22T06:00:52+09:00 Subject: Determining what file contains a module/class Hi *, I need to find the file that contains a known module or class, to "inspect" the source code and extract what I need from the file. Something like: >> require 'digest' >> Digest::base_file '/usr/local/lib/ruby/1.8/digest.rb' I already had some suggestions on IRC that involve scanning through all the files in the path with a regexp, and in fact it solves my problem, but I think it's a bit overcomplicated, so I'd like to know if there's some other way that avoids all that scanning. TIA, ngw -- checking for life_signs in -lKenny... no Oh my god, make (1) killed Kenny ! You, bastards ! nicholas_wieland-at-yahoo-dot-it