M
Mario Gr
Hi,
I was wondering if there were a way to use Dir.glob to grab only
directories. After searching google for a bit I found ways to pull only
file listings, but couldn't find one for just directories.
Currently, I'm using FileTest.directory?(dir) before running any
operations to test for a directory.
I was wondering if there were a way to use Dir.glob to grab only
directories. After searching google for a bit I found ways to pull only
file listings, but couldn't find one for just directories.
Currently, I'm using FileTest.directory?(dir) before running any
operations to test for a directory.