aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-11-08 19:23:57 -0800
committerZachary Scott <e@zzak.io>2014-11-08 19:23:57 -0800
commit90bf1c0498ab1f359ed9112cddc8c99e1449b17a (patch)
treedcf2d203eaef581f5bcedf0f2a0a51c92a2d3666
parent001e600619c7ec5d7535e47c5900bcad259de3f8 (diff)
parent9cf3596da50fb1c157ce1995754c1b7e810b9611 (diff)
downloadrails-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.rb5
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 = {}