mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca13525d5d
commit
2549d8b2c6
1 changed files with 0 additions and 2 deletions
|
@ -9,11 +9,9 @@
|
|||
|
||||
module Find
|
||||
def find(*path)
|
||||
p ["find", path]
|
||||
while file = path.shift
|
||||
catch(:prune) {
|
||||
yield file
|
||||
p ["find", file]
|
||||
if File.lstat(file).directory? then
|
||||
d = Dir.open(file)
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue