# Range

**URL:** <https://www.ruby-forum.com/t/range/118526>\
**Category:** IronRuby\
**Created:** [October 28, 2007, 5:09am UTC](https://www.ruby-forum.com/t/range/118526 "2007-10-28T05:09:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![curthibbs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ac91a4/32.png) [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Post date:** [October 28, 2007, 5:09am UTC](https://www.ruby-forum.com/t/range/118526/1 "2007-10-28T05:09:37Z")

</div>

[http://hagenlocher.org/software/Range.diff.txt](http://hagenlocher.org/software/Range.diff.txt)

This patch fixes Range.to\_s to correctly show … instead of … for  
exclusive ranges.  
It adds the functions “step” and “hash”.  
It adds the aliases “eql?” for “==” and “include?” and “member?” for  
“===”.  
It merges the implementation of “first” and “begin” and of “last” and  
“end”.

All the changes incorporate tests.

---

<div class="post-metadata">

**Author:** ![curthibbs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ac91a4/32.png) [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Post date:** [October 30, 2007, 6:07am UTC](https://www.ruby-forum.com/t/range/118526/2 "2007-10-30T06:07:07Z")

</div>

Curt H.:

> All the changes incorporate tests.  
> Great! Thanks for sending this in! Will review and send feedback before  
> we take off for RubyConf in a couple of days.

Thanks!  
-John
