From: Run Paint Run Run Date: 2009-08-02T09:46:41+09:00 Subject: [ruby-core:24680] [Bug #1855] Random#int with Single-Element Ranges Issue #1855 has been updated by Run Paint Run Run. A range of Floats also behaves like a single-element Range, which is surely wrong. >> prng = Random.new => # >> 4.times.map { prng.int(1.0..10.0) } => [1.0, 1.0, 1.0, 1.0] ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1855 ---------------------------------------- http://redmine.ruby-lang.org