[Hiki-cvs 1404] [951] use dot instead double colon when call singleton methods.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 8日 (土) 16:36:36 JST


Revision: 951
          http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=951
Author:   okkez
Date:     2009-08-08 16:36:36 +0900 (Sat, 08 Aug 2009)

Log Message:
-----------
use dot instead double colon when call singleton methods.

Modified Paths:
--------------
    hiki/trunk/hiki/interwiki.rb

Modified: hiki/trunk/hiki/interwiki.rb
===================================================================
--- hiki/trunk/hiki/interwiki.rb	2009-08-05 10:45:47 UTC (rev 950)
+++ hiki/trunk/hiki/interwiki.rb	2009-08-08 07:36:36 UTC (rev 951)
@@ -11,7 +11,7 @@
     attr_reader :interwiki_names
 
     def initialize( str )
-      @interwiki_names = Hash::new
+      @interwiki_names = Hash.new
       (str || '').scan( INTERWIKI_NAME_RE ) do |i|
         e = i.size > 2 ? i[2] : 'none'
         @interwiki_names[i[0]] = {:url => i[1], :encoding => e}




Hiki-cvs メーリングリストの案内
Back to archive index