Skip to content
This repository
Browse code

removes some remaining .rjs occurrences

  • Loading branch information...
commit 06ae5769e1d61b9b0e8e3dedd63244804c8130f5 1 parent d76fbff
Xavier Noria authored March 30, 2011
6  railties/lib/rails/source_annotation_extractor.rb
@@ -30,7 +30,7 @@ def to_s(options={})
30 30
 
31 31
   # Prints all annotations with tag +tag+ under the root directories +app+, +lib+,
32 32
   # and +test+ (recursively). Only filenames with extension +.builder+, +.rb+,
33  
-  # +.rxml+, +.rjs+, +.rhtml+, or +.erb+ are taken into account. The +options+
  33
+  # +.rxml+, +.rhtml+, or +.erb+ are taken into account. The +options+
34 34
   # hash is passed to each annotation's +to_s+.
35 35
   #
36 36
   # This class method is the single entry point for the rake tasks.
@@ -47,7 +47,7 @@ def initialize(tag)
47 47
 
48 48
   # Returns a hash that maps filenames under +dirs+ (recursively) to arrays
49 49
   # with their annotations. Only files with annotations are included, and only
50  
-  # those with extension +.builder+, +.rb+, +.rxml+, +.rjs+, +.rhtml+, and +.erb+
  50
+  # those with extension +.builder+, +.rb+, +.rxml+, +.rhtml+, and +.erb+
51 51
   # are taken into account.
52 52
   def find(dirs=%w(app lib test))
53 53
     dirs.inject({}) { |h, dir| h.update(find_in(dir)) }
@@ -55,7 +55,7 @@ def find(dirs=%w(app lib test))
55 55
 
56 56
   # Returns a hash that maps filenames under +dir+ (recursively) to arrays
57 57
   # with their annotations. Only files with annotations are included, and only
58  
-  # those with extension +.builder+, +.rb+, +.rxml+, +.rjs+, +.rhtml+, and +.erb+
  58
+  # those with extension +.builder+, +.rb+, +.rxml+, +.rhtml+, and +.erb+
59 59
   # are taken into account.
60 60
   def find_in(dir)
61 61
     results = {}

0 notes on commit 06ae576

Please sign in to comment.
Something went wrong with that request. Please try again.