In addition to the begin and end methods of class Range, I could use begin= and end=
I need to change the begin and end of ranges, eg change a Range from 2..3 to 4..7 (the same object).
Since I really do need and want this functionality, I implemented my own Range-like class, works like a charm (a bit too long to post though). But I thought that perhaps others might find begin= and end= useful too, that's why I propose to add them to the built-in Range class.
Back to RCRchive.
RCR Submission page and RCRchive powered by Ruby, Apache, RuWiki (modified), and RubLog