From: John Lam Date: 2005-11-11T07:10:52+09:00 Subject: Re: My usage of const_missing and method_missing ------=_Part_17801_10009872.1131660650321 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > It's nice, but is there a way to reflect on the .NET target and get at > least > the methods all-at-once rather than using method missing? That way you > have > the advantage of respond_to? etc. rather than having to refer use a metho= d > first. > I could get the methods all at once, but I use method_missing to determine which shims I should dynamically construct. Each shim carries some amount o= f overhead associated with it in terms of both time and space. I'd like to avoid constructing shims for methods that are never called. Cheers, -John http://www.iunknown.com ------=_Part_17801_10009872.1131660650321--