= private = protected
each()
Yield each eligible subdirectory.
# File railties/lib/rails_generator/lookup.rb, line 187 def each Dir["#{path}/[a-z]*"].each do |dir| if File.directory?(dir) yield Spec.new(File.basename(dir), dir, label) end end end