2011/5/26 Ilias Lazaridis <ilias / lazaridis.com>:
>
> What I'm looking for:
>
> how can I detect WHERE the object was instantiated?

This seems to do what you need.

http://snippets.dzone.com/posts/show/2787

See also here:

http://www.ruby-doc.org/core/classes/Kernel.html#M001397

-- 
Roger Braun
rbraun.net | humoralpathologie.de