Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
singleton_methods. : Object « Reflection « Ruby
Ruby
Reflection
Object
singleton_methods.
p Object.singleton_methods.sort
Related examples in the same category
1.
Want to know what constants the Object class (or some other class) has? Use the constants method from Module (output is truncated):
2.
Reflection on Methods
3.
inquire after instance methods with a method from Module
4.
query about methods with the Object methods private_methods,
5.
protected_methods
6.
public_methods