diff options
author | Zachary Scott <e@zzak.io> | 2014-11-08 19:23:57 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-11-08 19:23:57 -0800 |
commit | 90bf1c0498ab1f359ed9112cddc8c99e1449b17a (patch) | |
tree | dcf2d203eaef581f5bcedf0f2a0a51c92a2d3666 | |
parent | 001e600619c7ec5d7535e47c5900bcad259de3f8 (diff) | |
parent | 9cf3596da50fb1c157ce1995754c1b7e810b9611 (diff) | |
download | rails-90bf1c0498ab1f359ed9112cddc8c99e1449b17a.tar.gz rails-90bf1c0498ab1f359ed9112cddc8c99e1449b17a.tar.bz2 rails-90bf1c0498ab1f359ed9112cddc8c99e1449b17a.zip |
Merge pull request #17563 from yui-knk/fix/source_annotation_extractor
[ci skip] Fix comment of SourceAnnotationExtractor#find_in
-rw-r--r-- | railties/lib/rails/source_annotation_extractor.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb index 201532d299..9b058a1848 100644 --- a/railties/lib/rails/source_annotation_extractor.rb +++ b/railties/lib/rails/source_annotation_extractor.rb @@ -80,9 +80,8 @@ class SourceAnnotationExtractor # Returns a hash that maps filenames under +dir+ (recursively) to arrays # with their annotations. Only files with annotations are included. Files - # with extension +.builder+, +.rb+, +.erb+, +.haml+, +.slim+, +.css+, - # +.scss+, +.js+, +.coffee+, +.rake+, +.sass+ and +.less+ - # are taken into account. + # with extension +.builder+, +.rb+, +.rake+, +.yml+, +.yaml+, +.ruby+, + # +.css+, +.js+ and +.erb+ are taken into account. def find_in(dir) results = {} |