U:RDoc::AnyMethod[iI"protected_method_defined?:ETI"%Module#protected_method_defined?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"=Returns +true+ if the named protected method is defined ;TI":by _mod_ (or its included modules and, if _mod_ is a ;TI"class, 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" protected ;TI" def method2() end ;TI" end ;TI"class C < B ;TI" include A ;TI" def method3() end ;TI" end ;TI" ;TI"6A.method_defined? :method1 #=> true ;TI"7C.protected_method_defined? "method1" #=> false ;TI"6C.protected_method_defined? "method2" #=> true ;TI"5C.method_defined? "method2" #=> true;T: @format0: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"wmod.protected_method_defined?(symbol) -> true or false mod.protected_method_defined?(string) -> true or false ;T0[I" (p1);T@$FI" Module;TcRDoc::NormalClass00