From: Louis J Scoras Date: 2006-10-31T05:18:14+09:00 Subject: Re: __FILE__ for requiring file I think this could get there: def __REQUIRING_FILE__; caller[1] =~ /([^:]*):/; $1 end But probably only if you don't call it within any other methods. I'll have to play around some more. -- Lou.