[前][次][番号順一覧][スレッド一覧]

ruby-changes:2219

From: ko1@a...
Date: 15 Oct 2007 22:15:02 +0900
Subject: [ruby-changes:2219] knu - Ruby:r13710 (ruby_1_8): Merge from trunk.

knu	2007-10-15 22:14:48 +0900 (Mon, 15 Oct 2007)

  New Revision: 13710

  Modified files:
    branches/ruby_1_8/lib/ipaddr.rb

  Log:
    Merge from trunk.
    
    * NEWS: Mention ipaddr enhancements.
    
    * lib/ipaddr.rb (in_addr, in6_addr, addr_mask): Make some minor
      code optimization.
    
    * 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
      enumerable.
    
    * lib/ipaddr.rb (to_range): A new method to create a Range object
      for the (network) address.
    
    * lib/ipaddr.rb (coerce_other): Support type coercion and make &,
      |, == and include? accept a string or an integer instead of an
      IPAddr object as the argument.
    
    * lib/ipaddr.rb (initialize): Give better error messages.
    
    * lib/ipaddr.rb: Improve documentation.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/ipaddr.rb?r1=13710&r2=13709


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]