Return to Snippet

Revision: 21116
at December 3, 2009 13:23 by bigredjoe


Initial Code
def subdirectories_of(path, options = {})
  depth = options[:at_depth_of] || 1
  Dir[File.join(path, * ["*"] * depth + [""])] 
end

Initial URL


Initial Description


Initial Title
Find Subdirectories

Initial Tags
textmate, ruby, files, directory

Initial Language
Other