Ruby Ranges: How Do They Work?
What is a Range in Ruby & how does it work? A range is an object which has a starting value & ending value, they help you create sequences that span the whole range between these two values. You could go from 1 to 20, or from “a” to “z”. In this article you’ll discover: … Read more