Hi all,

This may seem an odd question but, is there a way to dynamically 
determine the filename that a class and/or module is written in?

In other words, if I have a file called "myclass.rb", and within that 
file I have the class called "SomeClass", is there a Module or Class 
method that let's me determine the name of the file?

# e.g. imaginary method
class SomeClass
   puts sourcefile -> myclass.rb
end

Regards,

Dan