[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:20864

From: knu ruby-lang.org
Date: Fri, 5 Oct 2007 03:23:23 +0900 (JST)
Subject: [ruby-cvs:20864] Ruby:r13627 (trunk): * lib/ipaddr.rb (coerce_other): Support type coercion and make &,

knu	2007-10-05 03:23:22 +0900 (Fri, 05 Oct 2007)

  New Revision: 13627

  Modified files:
    trunk/ChangeLog
    trunk/lib/ipaddr.rb

  Log:
    * 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/trunk/lib/ipaddr.rb?r1=13627&r2=13626
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13627&r2=13626


[前][次][番号順一覧][スレッド一覧][生データ]