From: "Schüle Daniel" Date: 2006-07-29T07:45:05+09:00 Subject: Re: rand(-10..10) [...] > The Kernel#rand(-5..15) version wouldn't suffer from this problem. It > would be a good idea to add this to ruby core, because this > functionality is something, that is needed very often. yes, this was exactly my point if we already had Kernel#rand with Range object, people wouldn't implement their own methods, making scripts shoter and slightly more portable (regarding copy&paste other code) Regards, Daniel