3 Jul 20:09
Using Dir.glob to grab only Directories
Mario Gr <mflores3 <at> gmail.com>
2009-07-03 18:09:55 GMT
2009-07-03 18:09:55 GMT
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. -- -- Posted via http://www.ruby-forum.com/.
RSS Feed