1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

revising doc

This commit is contained in:
Vijay Dev 2011-12-11 22:24:50 +05:30
parent 78de996562
commit aa6aa9b25d

View file

@ -46,9 +46,7 @@ class SourceAnnotationExtractor
end
# Returns a hash that maps filenames under +dirs+ (recursively) to arrays
# with their annotations. Only files with annotations are included, and only
# those with extension +.builder+, +.rb+, and +.erb+
# are taken into account.
# with their annotations.
def find(dirs=%w(app config lib script test))
dirs.inject({}) { |h, dir| h.update(find_in(dir)) }
end