From: gabriele renzi Date: 2006-04-02T10:04:27+09:00 Subject: Re: ruby-dev summary 28274-28600 ara.t.howard@noaa.gov ha scritto: > ya know - what might really be good is > > callstack #=> array of method objects > > where > > first = callstack.first > p first.name #=> like __method__ > > > so, like caller but something more valuable than strings... > > thoughts?? yes, one: I recall Sydney had something like this, i.e. Frame objects (and BackTrace objects), see for example: http://hoshi.fallingsnow.net/svn/sydney/trunk/test/sydney/test_frame.rb I'd love if we could import that, but maybe ruby and sydney diverged too much in the meanwhile. Ah, and I guess we're approaching Smalltalk again, is'nt that what they use "thisContext" for?