Revision: 4999
Updated Code
at February 3, 2008 18:05 by tcol
Updated Code
def subdirectories_of(path, options = {}) depth = options[:at_depth_of] || 1 Dir[File.join(path, * ["*"] * depth + [""])] end
Revision: 4998
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 3, 2008 17:57 by tcol
Initial Code
Initial URL
http://project.ioni.st/post/1980#snippet_1980
Initial Description
snippet from project.ioni.st - Marcel Molina (?)
Initial Title
subdirectories at specified depth
Initial Tags
textmate, ruby
Initial Language
Ruby