mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 13:04:22 +00:00
Make Range#step to consistently use + for iteration [Feature #18368] Previously, non-numerics expected step to be integer, and iterated with begin#succ, skipping over step value steps. Since this commit, numeric and non-numeric iteration behaves the same way, by using + operator.