teranex weblog

irb

Andrew Birkett's MethodFinder in Ruby

Smalltalk has this neat thing called the MethodFinder. It lets you find methods by providing an example. Now, ruby is basically smalltalk (without lots of the k3wl bits). So we can easily build a method finder in ruby too!