From: "mame (Yusuke Endoh)" Date: 2012-03-25T17:03:22+09:00 Subject: [ruby-core:43653] [ruby-trunk - Feature #5044][Assigned] #zip with block return mapped results Issue #5044 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned Assignee set to matz (Yukihiro Matsumoto) ---------------------------------------- Feature #5044: #zip with block return mapped results https://bugs.ruby-lang.org/issues/5044#change-25153 Author: trans (Thomas Sawyer) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) 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://bugs.ruby-lang.org/