Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle infinite, endless and beginless ranges #5

Open
xunker opened this issue Jan 23, 2020 · 1 comment
Open

Handle infinite, endless and beginless ranges #5

xunker opened this issue Jan 23, 2020 · 1 comment

Comments

@xunker
Copy link
Owner

xunker commented Jan 23, 2020

We can do endless ranges in Ruby < 2.6 with (0..Float::INFINITY), and in Ruby >= 2.6 with (0..) or (0..nil).

Also, in Ruby 2.7 we now have beginless ranges: [..100]

These may already work, because they can be worked with as an array, but we need to add tests for that.

@a0960909060
Copy link

helpers/build-app-list.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants