Aha. I'll look into it, thanks. On Mon, 19 Jul 2004 05:54:48 +0900, Austin Ziegler <halostatue / gmail.com> wrote: > On Mon, 19 Jul 2004 05:24:52 +0900, Claus Spitzer > <docboobenstein / gmail.com> wrote: > > Alright, understandable. Now the one question that remains (sorry for > > being nit-picky) is if it would be possible to desonstruct objects. > > After all, there has to be some place (possibly the metaclass) where > > it says that Foo.bar > > > > class Foo > > def bar( in ) > > in + 1 > > end > > end > > > > does in+1, right? Cheers > > I'm not understanding your question. Ruby interprets the code into an > AST; if you know how to read the AST, then you may be able to figure > that out. However, you're not going to be able to do that in Ruby > "proper" (you'll need something like evil.rb which uses Ruby/DL, or > some of the other tools out there). > > -austin > -- > Austin Ziegler * halostatue / gmail.com > * Alternate: austin / halostatue.ca > >