From: Martin DeMello Date: 2006-10-03T19:03:58+09:00 Subject: Re: New magical version of Symbol.to_proc On 10/1/06, Dr Nic wrote: > > This would allow: > people.map :fullname, :split > > as the equivalent of: > people.map {|p| p.fullname}.map {|n| n.split} > > Oh so much fun :) I did this a while back by adding an f (for functional) to the method name - so if you said people.mapf :fullname method_missing would see that it ended with an f, strip the f out and construct a block to pass to map. map_fullname reads even better, though. martin