Actions
Bug #1439
closedArray#sample returns wrong results for negative argument
Description
=begin
$ ruby1.9 -v -e "p [1,2].sample(-1)"
ruby 1.9.2dev (2009-05-06 trunk 23352) [i386-darwin9.6.0]
[1, 2, false]
=end
Actions
Like0
Like0