34,333
edits
Changes
→Using Range Methods
== Using Range Methods ==
Given the object-oriented nature of Ruby it should come as no surprise to you that a range is actually an object. As such, there are a number of methods of the Range class which can be accessed to interrogate work when working with a range object.
<pre>