From: Josh Cheek Date: 2009-11-14T10:01:10+09:00 Subject: Re: newbie ..need help with metaprogramming.. --000e0cd1467cb44af204784a4f40 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Nov 13, 2009 at 5:58 PM, Ralph Shnelvar wrote: > >> if t.respond_to?("#{var}") > > Supernewbie question: Where is the documentation for respond_to? ? > > Obviously ... I am just beginning to learn Ruby after trying to absorb > the Ruby on Rails and PickAxe books. > > > For 1.8.6: http://ruby-doc.org/core/ Then search for "respond_to?" and you will see three classes which define it, in the frame on the far right, which lists methods. The three you will see are: respond_to? (DRb::DRbObject) respond_to? (Object) respond_to? (Delegator) Click the one for Object, and it should take you to http://ruby-doc.org/core/classes/Object.html#M000331 --000e0cd1467cb44af204784a4f40--