aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-20 07:14:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-20 07:14:54 +0000
commit4e195e0ff3aab6994b760387c747b1f3ac1a0a3f (patch)
treefcf41c6322c63a860b68d3d9050207b801e5f617
parent2b64e10feb46cf6fafc57a036e80ee497806213f (diff)
downloadruby-4e195e0ff3aab6994b760387c747b1f3ac1a0a3f.tar.gz
Revert r36994 "* lib/find.rb: Error in documentation example"
* lib/find.rb: revert wrong example. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/find.rb2
2 files changed, 1 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 76884d5a95..af507c6354 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,11 +4,6 @@ Thu Sep 20 10:56:08 2012 NAKAMURA Usaku <usa@ruby-lang.org>
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@ruby-lang.org>
-
- * lib/find.rb: Error in documentation example
- Found by Herwin Weststrate, thank you!
-
Thu Sep 20 07:20:00 2012 Zachary Scott <zzak@ruby-lang.org>
* complex.c: Examples for Complex Documentation.
diff --git a/lib/find.rb b/lib/find.rb
index 2114cbf9e1..571609cdef 100644
--- a/lib/find.rb
+++ b/lib/find.rb
@@ -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