📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 21:56:52
📂
/ (Root)
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Module
📍 /opt/alt/ruby27/share/ri/system/Module
🔄 Refresh
✏️
Editing: instance_methods-i.ri
Read Only
U:RDoc::AnyMethod[iI"instance_methods:ETI"Module#instance_methods;TF:privateo: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
💾 Save Changes
❌ Cancel