Ruby | Range Class Methods
Prerequisite: Ruby | Ranges Ruby provides a Range class. Ruby ranges depict a set of values with a beginning and an end. Values of a range can be numbers, characters, strings or objects. It is constructed using start_point..end_point, start_pointâ¦endpoint literals, or with ::new. It provides the fle