Re: find source file for namespace?

2009-12-28 Thread Emeka
Hello nchubrich, I thinking that you can do this with easy using namespace which would lead you to resolve the file name and then figure out the path. Emeka On Mon, Dec 28, 2009 at 2:43 AM, nchubrich nicholas.chubr...@gmail.comwrote: Does anyone know how to dynamically access the pathname for

Re: find source file for namespace?

2009-12-28 Thread nchubrich
But finding the source path from the namespace is what I can't figure out. You can look at metadata on a var, and this has a :file field, but typically :file says NO_SOURCE_PATH. On Dec 28, 12:33 am, Emeka emekami...@gmail.com wrote: Hello nchubrich, I thinking that you can do this with easy

find source file for namespace?

2009-12-27 Thread nchubrich
Does anyone know how to dynamically access the pathname for a particular piece of code? I.E., I'd like to be able to write a function that can be called in any context and returns the pathname for the code it was called in. (My intended use for this is to develop a testing package; I want to