Hi Let me rephrase the question .... Is it possible to extract the class name via reflection? Thanks -----Original Message----- From: brian.kejser / protexis.com Sent: Mon, September 11, 2006 15:52 To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Subject: 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