Re: A left-exclusive Range class

Cyrus,

I see what you mean. As a quick fix, one might just convert the
range (a…b) to an array:
c=(a…b).to_a and chop off the first element, and create a Range from
the result. This may not be as concise as the … notation.
I can’t tell how important the community would find such a feature
implemented.

Best regards,

Axel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs