U:RDoc::AnyMethod[iI"private_method_defined?:ETI"#Module#private_method_defined?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I">Returns +true+ if the named private method is defined by ;TI"?_ mod_ (or its included modules and, if _mod_ is a class, ;TI"its ancestors). ;TI"/String arguments are converted to symbols.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"module A ;TI" def method1() end ;TI" end ;TI" class B ;TI" private ;TI" def method2() end ;TI" end ;TI"class C < B ;TI" include A ;TI" def method3() end ;TI" end ;TI" ;TI"4A.method_defined? :method1 #=> true ;TI"5C.private_method_defined? "method1" #=> false ;TI"4C.private_method_defined? "method2" #=> true ;TI"4C.method_defined? "method2" #=> false;T: @format0: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"umod.private_method_defined?(symbol) -> true or false mod.private_method_defined?(string) -> true or false ;T0[I" (p1);T@$FI" Module;TcRDoc::NormalClass00