summaryrefslogtreecommitdiff
path: root/lib/find.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-20 01:32:08 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-20 01:32:08 +0000
commit2a50cecab888848b1303307d039f7429e23e17a3 (patch)
tree8bc9dfaf80d7d99028ce9412661a3bdadc46718a /lib/find.rb
parent7c4d0468df37da40cbcd178070b288dd535bc72e (diff)
downloadruby-2a50cecab888848b1303307d039f7429e23e17a3.tar.gz
* lib/find.rb: Error in documentation example
Found by Herwin Weststrate, thank you! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/find.rb')
-rw-r--r--lib/find.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/find.rb b/lib/find.rb
index 571609cdef..2114cbf9e1 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