Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Module/instance_methods-i.ri
Arrière
U:RDoc::AnyMethod[iI"instance_methods:ETI"Module#instance_methods;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"PReturns an array containing the names of the public and protected instance ;FI"Xmethods in the receiver. For a module, these are the public and protected methods; ;FI"Qfor a class, they are the instance (not singleton) methods. If the optional ;FI"Tparameter is <code>false</code>, the methods of any ancestors are not included.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module A ;TI" def method1() end ;TI" end ;TI" class B ;TI" include A ;TI" def method2() end ;TI" end ;TI"class C < B ;TI" def method3() end ;TI" end ;TI" ;TI"@A.instance_methods(false) #=> [:method1] ;TI"@B.instance_methods(false) #=> [:method2] ;TI":B.instance_methods(true).include?(:method1) #=> true ;TI"@C.instance_methods(false) #=> [:method3] ;TI"9C.instance_methods.include?(:method2) #=> true;T:@format0: @fileI" object.c;T:0@omit_headings_from_table_of_contents_below0I"9mod.instance_methods(include_super=true) -> array ;F0[ I"(*args);T@$FI"Module;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages