From: Matthew Moss Date: 2006-04-21T01:33:51+09:00 Subject: Re: [SUMMARY] Refactoring (#75) Rather than mucking around with method_missing, let's just extend the language so method names are regular expressions: class MusicList def /sort_by_(.+)/ (*margs) # "margs" == matches as args @list.sort_by { |song| song.send(margs[0]) end end Method name resolution might be hell, though....