3 ms·
> On the other hand 10...100 (note the three dots) does not. reply > On the other hand 10...100 (note the three dots) does not. To be clear, 10...100 includes
by jschulenklopper 11y ago
> On the other hand 10...100 (note the three dots) does not.
reply
> On the other hand 10...100 (note the three dots) does not.
To be clear, 10...100 includes 10, but not 100. So, it includes one bound: the one mentioned first, the lower bound.
(10...100).to_a
=> [10, 11, 12, 13, ... 98, 99]