Ruby’s New Infinite Range Syntax: (0..)

01-Jun-2018 2085
So why do we need this new syntax? Up to this point, it has been a bit clunky in Ruby to create an infinite range: Nobody likes typing Float::INFINITY or 1.fdiv(0) over and over. It doesn’t seem.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle