From: Thomas Sawyer Date: 2011-07-18T12:35:26+09:00 Subject: [ruby-core:38154] [Ruby 1.9 - Feature #5044][Open] #zip with block return mapped results Issue #5044 has been reported by Thomas Sawyer. ---------------------------------------- Feature #5044: #zip with block return mapped results http://redmine.ruby-lang.org/issues/5044 Author: Thomas Sawyer Status: Open Priority: Normal Assignee: Category: Target version: Is there any reason that #zip doesn't return results like map? [1,2,3].zip([1,2,3]){ |a,b| a + b } #=> [2,4,6] Currently, it just returns nil, which seems rather contrary to the return result of the non-block form. -- http://redmine.ruby-lang.org