"Robert Klemme" <bob.news / gmx.net> wrote in message news:2m215lFi754cU1 / uni-berlin.de... <snip> > > Do you know Kernel#set_trace_func() ? That'll do what you need much more > easily IMHO. > http://www.ruby-doc.org/docs/rdoc/1.9/classes/Kernel.html#M001573 > > (It's already present in 1.6.8) Thanks, I'll follow that link > > > My question is: > > How do I know the names of the formal arguments of the actual caller of > > TraceEntry ? > > You can't other that providing them explicitely, for example by using a > hash: > I already thougt about a hash-solution, but I hoped to get something like a hash implicitely, such minimizing work and possible typo errors. Many thanks for fast answer, Chris