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

ruby-changes:24945

From: nobu <ko1@a...>
Date: Thu, 20 Sep 2012 16:15:08 +0900 (JST)
Subject: [ruby-changes:24945] nobu:r36997 (trunk): Revert r36994 "* lib/find.rb: Error in documentation example"

nobu	2012-09-20 16:14:54 +0900 (Thu, 20 Sep 2012)

  New Revision: 36997

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36997

  Log:
    Revert r36994 "* lib/find.rb: Error in documentation example"
    
    * lib/find.rb: revert wrong example.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36996)
+++ ChangeLog	(revision 36997)
@@ -4,11 +4,6 @@
 	  with another method.  if the substitution is removed, the ExtSrv
 	  object will be GC'ed and some tests will be blocked.
 
-Thu Sep 20 10:30:00 2012  Zachary Scott  <zzak@r...>
-
-	* lib/find.rb: Error in documentation example
-	  Found by Herwin Weststrate, thank you!
-
 Thu Sep 20 07:20:00 2012  Zachary Scott  <zzak@r...>
 
 	* complex.c: Examples for Complex Documentation.
Index: lib/find.rb
===================================================================
--- lib/find.rb	(revision 36996)
+++ lib/find.rb	(revision 36997)
@@ -14,7 +14,7 @@
 #
 #   Find.find(ENV["HOME"]) do |path|
 #     if FileTest.directory?(path)
-#       if File.basename(path)[0] == ".."
+#       if File.basename(path)[0] == ?.
 #         Find.prune       # Don't look any further into this directory.
 #       else
 #         next

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

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