1

Closed

IronRuby 1.1.3 Cant count

description

[0,10,20].count {|x| x == 20}
 
returns 3.
 
MRI Ruby correctly returns 1
Closed Jul 28, 2011 at 7:09 PM by jimmysch
Count ignored the block. Now it doesn't:[0,10,20].count {|x| x == 20}

comments