This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Object | |
# This does not work on ruby 1.8.x because the methods are not returned | |
# in the order they were defined. Also, under 1.8, the method names are | |
# returned as strings, not symbols. | |
# Identifies method aliases in the class and returns an array with | |
# their symbols. This uses #methods, so it includes all methods | |
# accessible in the object's ancestors. | |
def alias_methods | |
aliases = [] |
NewerOlder