summaryrefslogtreecommitdiffstats
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 18:56:32 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 18:56:32 +0000
commit97f82f2c5bb991cde4866f0879dbc3cbf61b7848 (patch)
tree6f27e43cbaa0e9d52fe2c1a6171e192b71358331 /include/ruby/ruby.h
parentc48637df5431625cbd9c89b73da73e1abfa53ff1 (diff)
downloadruby-97f82f2c5bb991cde4866f0879dbc3cbf61b7848.tar.gz
ruby-97f82f2c5bb991cde4866f0879dbc3cbf61b7848.tar.xz
ruby-97f82f2c5bb991cde4866f0879dbc3cbf61b7848.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@13628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions