instance method
find
Ruby on Rails 3.2.22.5
Since v2.2.3 Last seen in v5.2.8.1Signature
find(dirs=%w(app config lib script test))
Returns a hash that maps filenames under dirs (recursively) to arrays with their annotations.
Parameters
-
dirsopt = %w(app config lib script test)
Source
# File railties/lib/rails/source_annotation_extractor.rb, line 50
def find(dirs=%w(app config lib script test))
dirs.inject({}) { |h, dir| h.update(find_in(dir)) }
end
Defined in railties/lib/rails/source_annotation_extractor.rb line 50
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in SourceAnnotationExtractor