Getting Closure with Objective-C
macresearch.org1 pointsby dylan1 comments
list.map { |i| process i }
one must write list.map &method(:process)
or, as the Rails guys have done [1], open up Symbol#to_proc so that list.map &:process
works. This will be part of core Ruby in 1.9, but last I heard it's slow [2].
[1] http://linear.axler.net