L
lrlebron
I have a small snippet of code to recurse a directory which works as it
should
require 'find'
Find::find('C:\test') do |f|
p f
end
When I change it like this
require 'win32/file/stat'
require 'find'
Find::find('C:\test') do |f|
p f
end
Only the 'C:\test' directory is printed. None of the files or
subdirectories show up.
Any ideas on how to fix this?
thanks,
Luis
should
require 'find'
Find::find('C:\test') do |f|
p f
end
When I change it like this
require 'win32/file/stat'
require 'find'
Find::find('C:\test') do |f|
p f
end
Only the 'C:\test' directory is printed. None of the files or
subdirectories show up.
Any ideas on how to fix this?
thanks,
Luis