mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
revising doc
This commit is contained in:
parent
78de996562
commit
aa6aa9b25d
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue