Ruby 3.3 Implements Range#reverse_each Method For Very Large or Beginless Ranges And Error Handling For Endless Ranges #209
sonamvg
started this conversation in
Submissions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With Ruby 3.3, Range#reverse_each can now process very large or beginless ranges with an Integer endpoint and raises TypeError for endless ranges.
https://blog.saeloun.com/2024/01/09/ruby-3-3-range-reverse-each-for-begin-endless-ranges/
#ruby3.3 #ruby #range #range_reverse_each #reverse_each
Beta Was this translation helpful? Give feedback.
All reactions