From 4e195e0ff3aab6994b760387c747b1f3ac1a0a3f Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 20 Sep 2012 07:14:54 +0000 Subject: 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 --- lib/find.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3