aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/documentation.rake
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-04-25 15:43:29 +0200
committerOscar Del Ben <info@oscardelben.com>2012-04-25 15:43:29 +0200
commit4179141a012c84afa4756aa565aca3a07e4693fa (patch)
treebaf0a7c97fda49455408ee86b73272911acd14f8 /railties/lib/rails/tasks/documentation.rake
parentee4e7125a61c703332a8d591a0aee917ba828e62 (diff)
parent4a3ce153f1e05c9c590e9ee74e818649336d929f (diff)
downloadrails-4179141a012c84afa4756aa565aca3a07e4693fa.tar.gz
rails-4179141a012c84afa4756aa565aca3a07e4693fa.tar.bz2
rails-4179141a012c84afa4756aa565aca3a07e4693fa.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/lib/rails/tasks/documentation.rake')
-rw-r--r--railties/lib/rails/tasks/documentation.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/documentation.rake b/railties/lib/rails/tasks/documentation.rake
index 2851ca4189..4ec49eee76 100644
--- a/railties/lib/rails/tasks/documentation.rake
+++ b/railties/lib/rails/tasks/documentation.rake
@@ -2,7 +2,7 @@ require 'rdoc/task'
# Monkey-patch to remove redoc'ing and clobber descriptions to cut down on rake -T noise
class RDocTaskWithoutDescriptions < RDoc::Task
- include ::Rake::DSL
+ include ::Rake::DSL if defined?(::Rake::DSL)
def define
task rdoc_task_name