From: "Ruby NNTP->SMTP Gate" Date: 2005-02-28T23:08:27+09:00 Subject: ) by news.ntua.gr (unknown) with NNTP id 127547 for ; To: ruby-talk@ruby-lang.org Path: zrz.TU-Berlin.DE!news-ber1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!news.tu-darmstadt.de!tsicnews.teliasonera.com!news.otenet.gr!news.grnet.gr!news.ntua.gr!not-for-mail From: George Moschovitis Newsgroups: comp.lang.ruby Subject: Re: Method parameters reflection Date: Mon, 28 Feb 2005 16:05:45 +0200 Organization: National Technical University of Athens, Greece Lines: 18 Message-ID: References: <1109580197.206700.52550@o13g2000cwo.googlegroups.com> <42232094.10101@hypermetrics.com> NNTP-Posting-Host: 80.76.61.229 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ulysses.noc.ntua.gr 1109599595 8397 80.76.61.229 (28 Feb 2005 14:06:35 GMT) X-Complaints-To: usenet@ulysses.noc.ntua.gr NNTP-Posting-Date: Mon, 28 Feb 2005 14:06:35 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en In-Reply-To: <42232094.10101@hypermetrics.com> Xref: zrz.TU-Berlin.DE comp.lang.ruby:127547 Received: from Usenet via a Usenet to mail gateway located at TU-Berlin.DE. This service provided as a courtesy to the ruby-talk mailing list. If this message is SPAM, its ultimate origin is Usenet, not this gateway program. All subscribers to the ruby-talk mailing list agree to receive the Usenet postings made to comp.lang.ruby via this gateway. Please see http://www.ruby-lang.org/ruby-talk-usenet-policy.html. X-From-Usenet: see Received: header above. X-rubymirror: yes >> I would like to use some kind of reflection to get the parameters of a >> method. > > > [snip] > > I have wanted this, too, but AFAIK there is no > good solution at present. ParseTree is a great solution, but it uses RubyInline which requires a C compiler (typically gcc). No luck with Windows. I _think_ ParseTree could use RubyDL like EvilRuby. This would be something nice to have in Ruby 1.9. In the meantime I will try to play a bit with EvilRuby, or perhaps Florian Gross could help here :) :) regards, George.