From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Fri, 07 Dec 2007 10:10:13 -0800 Subject: [sup-talk] [PATCH] New hook to allow formatting of message headers In-Reply-To: <1196960854-sup-7925@192.117.33.51.static.012.net.il> References: <1195618839-sup-4347@lankhmar> <1196878151-sup-6754@south> <1196879746-sup-2883@south> <1196960854-sup-7925@192.117.33.51.static.012.net.il> Message-ID: <1197050937-sup-3399@south> Excerpts from nicolas.pouillard's message of Thu Dec 06 09:12:09 -0800 2007: > Excerpts from William Morgan's message of Wed Dec 05 19:36:44 +0100 2007: > > %w(User-Agent X-Mailer X-Spam-Status).map do |key| > > Why use .map instead of .each the result seems not that useful. You're right, #each would have been probably more idiomatic. -- William