From: "David A. Black" Date: 2005-02-16T01:57:23+09:00 Subject: Re: Ruby Source code checker Hi -- On Wed, 16 Feb 2005, Bill Guindon wrote: > On Tue, 15 Feb 2005 23:04:57 +0900, Michael Gebhart wrote: > >> When I do: >> >> @variable.function >> >> ruby does not know, if the method "function" is avaibable or not. > > actually, you can ask it... > > @variable.respond_to?("function") But that's a runtime thing too. I don't think you can leverage that to do pre-runtime checking. David -- David A. Black dblack@wobblini.net