Reflection and files

Hi

Suppose I have a ruby file with a single class. Is it possible to write
a
ruby script that can extract the class name from the file?

Thanks

Hi

Let me rephrase the question …

Is it possible to extract the class name via reflection?

Thanks

On Tue, 12 Sep 2006 [email protected] wrote:

Hi

Suppose I have a ruby file with a single class. Is it possible to write a
ruby script that can extract the class name from the file?

Thanks

http://codeforpeople.com/lib/ruby/dynaload/dynaload-0.2.0/README
http://rubyforge.org/frs/?group_id=1024&release_id=6580

-a