ruby-changes:24942
From: zzak <ko1@a...>
Date: Thu, 20 Sep 2012 10:33:43 +0900 (JST)
Subject: [ruby-changes:24942] zzak:r36994 (trunk): * lib/find.rb: Error in documentation example
zzak 2012-09-20 10:32:08 +0900 (Thu, 20 Sep 2012) New Revision: 36994 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36994 Log: * lib/find.rb: Error in documentation example Found by Herwin Weststrate, thank you! Modified files: trunk/ChangeLog trunk/lib/find.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 36993) +++ ChangeLog (revision 36994) @@ -1,3 +1,8 @@ +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 36993) +++ lib/find.rb (revision 36994) @@ -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/