From: Dr Nic Date: 2006-10-01T14:31:23+09:00 Subject: Re: New magical version of Symbol.to_proc Seth Thomas Rasmussen wrote: > foos.map :bar That'd be workable syntax. class Array alias old_map map def map(*args) if args.length > 0 return self.map {|item| item.send args.first}.map *args[1..-1] else return self.old_map end end end This would allow: people.map :fullname, :split as the equivalent of: people.map {|p| p.fullname}.map {|n| n.split} Oh so much fun :) Nic -- Posted via http://www.ruby-forum.com/.