From: Yukihiro Matsumoto Date: 2007-01-12T23:05:51+09:00 Subject: Re: RCR Opinion Poll Hi, In message "Re: RCR Opinion Poll" on Fri, 12 Jan 2007 18:56:08 +0900, "Robert Dober" writes: |The following is a very common pattern. | | an_enum.map{ |ele| ele.a_method } | |I believe that it is sufficiently common to be generalized. | |There are two idioms I would like to see | | an_enum.apply_to_all :a_method |and | an_enum.apply_to_all.a_method an_enum.map(&:a_method) works for 1.9. matz.