[Ironruby-core] Range

Curt Hagenlocher curt at hagenlocher.org
Sun Oct 28 00:03:04 EDT 2007


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.

--
Curt Hagenlocher
curt at hagenlocher.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071027/2018c5e2/attachment.html 


More information about the Ironruby-core mailing list