From: matz@... (Yukihiro Matsumoto) Date: 2003-10-24T22:57:26+09:00 Subject: Re: Struggling with variable arguments to block Hi, In message "Struggling with variable arguments to block" on 03/10/24, "Gavin Sinclair" writes: |I'm having trouble dealing with a block that yields one parameter but |declares two. I've pasted complete test code below. Basically, I've |defined "sum" on Enumerable that sums the result of yielding each value. |This is for demonstration of the problem only. I smell something wrong. Hmm... I get it. Hash#each should have passed single value to the block, unlike Hash#each_pair. It will be fixed soon. matz. c