aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/code_statistics_calculator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/code_statistics_calculator.rb')
-rw-r--r--railties/lib/rails/code_statistics_calculator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/code_statistics_calculator.rb b/railties/lib/rails/code_statistics_calculator.rb
index a142236dbe..fad13e8517 100644
--- a/railties/lib/rails/code_statistics_calculator.rb
+++ b/railties/lib/rails/code_statistics_calculator.rb
@@ -25,6 +25,7 @@ class CodeStatisticsCalculator #:nodoc:
}
PATTERNS[:minitest] = PATTERNS[:rb].merge method: /^\s*(def|test)\s+['"_a-z]/
+ PATTERNS[:rake] = PATTERNS[:rb]
def initialize(lines = 0, code_lines = 0, classes = 0, methods = 0)
@lines = lines