⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Module
/
View File Name :
method_defined%3f-i.ri
U:RDoc::AnyMethod[iI"method_defined?:ETI"Module#method_defined?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"6Returns +true+ if the named method is defined by ;TI"F_mod_. If _inherit_ is set, the lookup will also search _mod_'s ;TI":ancestors. Public and protected methods are matched. ;TI"/String arguments are converted to symbols.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module A ;TI" def method1() end ;TI"$ def protected_method1() end ;TI"$ protected :protected_method1 ;TI" end ;TI" class B ;TI" def method2() end ;TI"" def private_method2() end ;TI" private :private_method2 ;TI" end ;TI"class C < B ;TI" include A ;TI" def method3() end ;TI" end ;TI" ;TI"6A.method_defined? :method1 #=> true ;TI"6C.method_defined? "method1" #=> true ;TI"6C.method_defined? "method2" #=> true ;TI"6C.method_defined? "method2", true #=> true ;TI"7C.method_defined? "method2", false #=> false ;TI"6C.method_defined? "method3" #=> true ;TI"6C.method_defined? "protected_method1" #=> true ;TI"7C.method_defined? "method4" #=> false ;TI"6C.method_defined? "private_method2" #=> false;T:@format0: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"|mod.method_defined?(symbol, inherit=true) -> true or false mod.method_defined?(string, inherit=true) -> true or false ;T0[ I"(*args);T@,FI"Module;TcRDoc::NormalClass00