mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
7c4d0468df
commit
2a50cecab8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
Thu Sep 20 07:20:00 2012 Zachary Scott <zzak@ruby-lang.org>
|
||||||
|
|
||||||
* complex.c: Examples for Complex Documentation.
|
* complex.c: Examples for Complex Documentation.
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#
|
#
|
||||||
# Find.find(ENV["HOME"]) do |path|
|
# Find.find(ENV["HOME"]) do |path|
|
||||||
# if FileTest.directory?(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.
|
# Find.prune # Don't look any further into this directory.
|
||||||
# else
|
# else
|
||||||
# next
|
# next
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue