From: Yukihiro Matsumoto Date: 2005-02-20T03:13:48+09:00 Subject: Re: [rcr] Array#join non string arguments Hi, In message "Re: [rcr] Array#join non string arguments" on Sun, 20 Feb 2005 03:04:05 +0900, Jannis Harder writes: |with arguments and block: |[0, 10, 100, 1000, |10000].interpolate(+1,-1){|sign,a,b,index|"#{(a+b)/2*sign} #{index}"} |#=> [0, "5 0", 10, "-55 1", 100, "550 2", 1000, "-5500 3", 10000] Shouldn't "sign" be the last parameter? Just because fragile parameter place is a bad idea in general. matz.