Skip to content
Browse files

be lazy configuring the RDoc files

This code is executed every time you run a rake task, there is no need to, specially
adding a penalty to test suites.
  • Loading branch information...
1 parent f01b757 commit 2645f6844f7ae3eed0e03a786490e5e432d87d52 @fxn fxn committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/lib/rails/api/task.rb
3 railties/lib/rails/api/task.rb
@@ -70,9 +70,8 @@ def initialize(name)
options << '-m' << api_main
options << '-e' << 'UTF-8'
- configure_rdoc_files
before_running_rdoc do
+ configure_rdoc_files

0 comments on commit 2645f68

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