in reply to How do I get the name of the file from which the class was loaded?
aught to be the file name the routine is declared in. (Not that I've tested that or anything.)(caller(0))[1]
Of course, getting it from __FILE__ is more straight-forward. 8-)
|
|---|