Just wanted to let you know that I came across these extensions and thought they made a lot of sense. So I ported them to Facets with a few minor modifications -- I renamed #rangify to #arrange and use #succ instead of + 1. I know there is an issue with Time#succ being deprecated but I think there are other ways to address that.
Eventually I think it would make sense if these, or something similar, made there way into Ruby proper.
I cited credit in the source to "monocle". Let me know if I should use another name.
Just wanted to let you know that I came across these extensions and thought they made a lot of sense. So I ported them to Facets with a few minor modifications -- I renamed
#rangifyto#arrangeand use#succinstead of+ 1. I know there is an issue withTime#succbeing deprecated but I think there are other ways to address that.Eventually I think it would make sense if these, or something similar, made there way into Ruby proper.
I cited credit in the source to "monocle". Let me know if I should use another name.