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
#!/usr/bin/env ruby | |
# Let's just worry about what's done to Array directly, and not the insanity | |
# in any of the parent classes. | |
$existing_methods = [] | |
def print_methods(library) | |
new_methods = ([].methods.sort - [].class.superclass.methods.sort) - $existing_methods | |
for method in new_methods |
NewerOlder