JezK
Edit File: respond_to%3f-i.ri
U:RDoc::AnyMethod[iI"respond_to?:ETI"Object#respond_to?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HReturns +true+ if _obj_ responds to the given method. Private and ;TI"Gprotected methods are included in the search only if the optional ;TI"*second parameter evaluates to +true+.;To:RDoc::Markup::BlankLine o; ; [I"'If the method is not implemented, ;TI"Aas Process.fork on Windows, File.lchmod on GNU/Linux, etc., ;TI"false is returned.;T@o; ; [I"DIf the method is not defined, <code>respond_to_missing?</code> ;TI"1method is called and the result is returned.;T@o; ; [I"HWhen the method name parameter is given as a string, the string is ;TI"converted to a symbol.;T: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"}obj.respond_to?(symbol, include_all=false) -> true or false obj.respond_to?(string, include_all=false) -> true or false ;T0[ I"(p1, p2 = v2);T@FI"Object;TcRDoc::NormalClass00