You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's easy. That's approach would also work verbatin with a length argument with the array index. But what about irregular ranges like [0.5..10.9]? What would the stepping be?
The text was updated successfully, but these errors were encountered:
Array indexes can be ranges, or can be integers passed with a length.
Right now the gem handles these in the same way that the base Array class does:
That's all well and good, but they should do something... better. But what?
Ruby (2.0.0 at least) supports Ranges with Float boundaries. I'd like to see this:
That's easy. That's approach would also work verbatin with a length argument with the array index. But what about irregular ranges like
[0.5..10.9]
? What would the stepping be?The text was updated successfully, but these errors were encountered: