If you happen to be implementing some old-school algorithms, you may find that you need something like infinity. But don’t fret – Ruby has that right at your disposal! Just try this:
1 2 3 4
And you’re good to go! Of course, this won’t be useful in most contexts, but keep it in your Ruby programming belt for just the right occasion!