If I run the Find
module with a relative directory as a parameter, the files returned by it will be relative ones. Can I do anything to make sure I always have absolute paths ?
require "find"
Find.find(dir) do |file|
# do I need to make it absolute myself? will File#extend_path be enough?
end