diff options
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile index ec44e5fb42..3fffc0d021 100644 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -23,15 +23,15 @@ namespace :test do end -require 'rake/rdoctask' +require 'rdoc/task' # Generate the RDoc documentation -Rake::RDocTask.new do |rdoc| +RDoc::Task.new do |rdoc| rdoc.rdoc_dir = "doc" rdoc.title = "Active Model" - rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '-f' << 'horo' rdoc.options << '--charset' << 'utf-8' - rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo' + rdoc.options << '--main' << 'README.rdoc' rdoc.rdoc_files.include("README.rdoc", "CHANGELOG") rdoc.rdoc_files.include("lib/**/*.rb") end |