⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Module
/
View File Name :
public_method_defined%3f-i.ri
U:RDoc::AnyMethod[iI"public_method_defined?:ETI""Module#public_method_defined?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"=Returns +true+ if the named public method is defined by ;TI"F_mod_. If _inherit_ is set, the lookup will also search _mod_'s ;TI"ancestors. ;TI"/String arguments are converted to symbols.;To:RDoc::Markup::BlankLine o: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"9A.method_defined? :method1 #=> true ;TI"9C.public_method_defined? "method1" #=> true ;TI"9C.public_method_defined? "method1", true #=> true ;TI"9C.public_method_defined? "method1", false #=> true ;TI":C.public_method_defined? "method2" #=> false ;TI"8C.method_defined? "method2" #=> true;T:@format0: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"ˆmod.public_method_defined?(symbol, inherit=true) -> true or false mod.public_method_defined?(string, inherit=true) -> true or false ;T0[ I"(*args);T@&FI"Module;TcRDoc::NormalClass00