This file contains 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
# | |
# After a discussion about the cool groovy syntax for | |
# declaring anonymous classes. Jim Weirich and I came up | |
# with the following solutions in Ruby. | |
# | |
# Requires: Ruby 1.9 | |
# | |
def run(x) | |
x.foo | |
end |
NewerOlder