aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/source_annotation_extractor.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-03-30 22:25:41 +0200
committerXavier Noria <fxn@hashref.com>2011-04-13 13:24:33 +0200
commit06ae5769e1d61b9b0e8e3dedd63244804c8130f5 (patch)
tree0489d1331e448b70702a1c3ef4865a167015346e /railties/lib/rails/source_annotation_extractor.rb
parentd76fbff8b44172545bc1debe0d5f44af41c55ced (diff)
downloadrails-06ae5769e1d61b9b0e8e3dedd63244804c8130f5.tar.gz
rails-06ae5769e1d61b9b0e8e3dedd63244804c8130f5.tar.bz2
rails-06ae5769e1d61b9b0e8e3dedd63244804c8130f5.zip
removes some remaining .rjs occurrences
Diffstat (limited to 'railties/lib/rails/source_annotation_extractor.rb')
-rw-r--r--railties/lib/rails/source_annotation_extractor.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb
index 302206bbcd..6d6e7f8b59 100644
--- a/railties/lib/rails/source_annotation_extractor.rb
+++ b/railties/lib/rails/source_annotation_extractor.rb
@@ -30,7 +30,7 @@ class SourceAnnotationExtractor
# Prints all annotations with tag +tag+ under the root directories +app+, +lib+,
# and +test+ (recursively). Only filenames with extension +.builder+, +.rb+,
- # +.rxml+, +.rjs+, +.rhtml+, or +.erb+ are taken into account. The +options+
+ # +.rxml+, +.rhtml+, or +.erb+ are taken into account. The +options+
# hash is passed to each annotation's +to_s+.
#
# This class method is the single entry point for the rake tasks.
@@ -47,7 +47,7 @@ class SourceAnnotationExtractor
# 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+, +.rxml+, +.rjs+, +.rhtml+, and +.erb+
+ # those with extension +.builder+, +.rb+, +.rxml+, +.rhtml+, and +.erb+
# are taken into account.
def find(dirs=%w(app lib test))
dirs.inject({}) { |h, dir| h.update(find_in(dir)) }
@@ -55,7 +55,7 @@ class SourceAnnotationExtractor
# Returns a hash that maps filenames under +dir+ (recursively) to arrays
# with their annotations. Only files with annotations are included, and only
- # those with extension +.builder+, +.rb+, +.rxml+, +.rjs+, +.rhtml+, and +.erb+
+ # those with extension +.builder+, +.rb+, +.rxml+, +.rhtml+, and +.erb+
# are taken into account.
def find_in(dir)
results = {}