diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-04 18:56:32 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-04 18:56:32 +0000 |
commit | 2a3528a051347ef336e89576e945dc789aab3771 (patch) | |
tree | 6f27e43cbaa0e9d52fe2c1a6171e192b71358331 /vm_core.h | |
parent | 7a796ddefc977dabe6f1415bcbe3e5310191b0c6 (diff) | |
download | ruby-2a3528a051347ef336e89576e945dc789aab3771.tar.gz |
* lib/ipaddr.rb (<=>): Implement IPAddr#<=> and make IPAddr
comparable.
* lib/ipaddr.rb (succ): Implement IPAddr#succ. You can now create
a range between two IPAddr's, which (Range) object is
enumeratable.
* lib/ipaddr.rb (to_range): A new method to create a Range object
for the (network) address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
0 files changed, 0 insertions, 0 deletions