> On Mar 7, 2014, at 11:16 PM, Kape Kape <lists / ruby-forum.com> wrote:
>=20
> I'm not trying to do trickery, I simply want the object to be able later=20=

> identify itself to the caller's environment with that name in a log=20
> file.

"caller" is a method that returns the call stack; "caller.first" would get a=
 string with the file and line (and if you're lucky, method name) the curren=
t method was called from, colon-delimited. Does that help?=