Actions
Bug #15443
closedHash#slide with infinite range gives unexpective result
Bug #15443:
Hash#slide with infinite range gives unexpective result
Description
{ 1 => :a, 2 => :b, 3 => :c }.slice(2..) returns {}. I had expected that it retuns {2=>:b, 3=>:c} instead.
Updated by Hanmac (Hans Mackowiak) over 7 years ago
Updated by mame (Yusuke Endoh) over 7 years ago
Updated by ana06 (Ana Maria Martinez Gomez) over 7 years ago
It sound reasonable ;) this can be closed then
Actions