-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello,
thank your for your library, it's saving me a lot of time.
I've just got an issue by the way: I think the to_a / each behaviour is inconsistent with what I'd expect from a range (and I'd really like a RangeWithGaps to be a dropin replacement for a Range); each() should IMHO return each element in the inner range, and to_a should flatten & join all contained ranges in a single array.
What do you think about such approach?If you think it's fine I could implement it and put forward a pull request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels