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
Method Pointer « Method « Ruby
Ruby
Method
Method Pointer
1.
Use method from String class to map a method from String to a method pointer
2.
Call String.instance_method to get a method pointer
3.
Get pointer to a method in Fixnum
4.
Assign method pointer to another method