Ruby: Defining literal ranges

In Ruby it's simple to define literal ranges by doing something like:

Ruby also lets you use '...' in order to specify an exclusive range. This works similar to the example above but ignores the very last number:

This is useful if you have a count variable and want to define a range without having to do a minus one on it:

In the end both range definitions have their uses - the main thing is just remembering which is which