svnno****@sourc*****
svnno****@sourc*****
2009年 9月 4日 (金) 00:06:06 JST
Revision: 1044 http://sourceforge.jp/projects/hiki/svn/view?view=rev&revision=1044 Author: okkez Date: 2009-09-04 00:06:05 +0900 (Fri, 04 Sep 2009) Log Message: ----------- use single dot instead of double colon when call singleton methods. Modified Paths: -------------- hiki/trunk/hiki.cgi Modified: hiki/trunk/hiki.cgi =================================================================== --- hiki/trunk/hiki.cgi 2009-09-03 14:04:15 UTC (rev 1043) +++ hiki/trunk/hiki.cgi 2009-09-03 15:06:05 UTC (rev 1044) @@ -12,7 +12,7 @@ end begin - if FileTest::symlink?( __FILE__ ) + if FileTest.symlink?( __FILE__ ) org_path = File.dirname( File.expand_path( File.readlink( __FILE__ ) ) ) else org_path = File.dirname( File.expand_path( __FILE__ ) )