1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Updated RDocTask to receive options 1 by 1 (closes #3875) [pterjan@mandriva.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-02-19 00:43:10 +00:00
parent 1812dbbfde
commit 1e216b1d84

View file

@ -233,7 +233,7 @@ end
Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Railties -- Gluing the Engine to the Rails"
rdoc.options << '--line-numbers --inline-source --accessor cattr_accessor=object'
rdoc.options << '--line-numbers' << '--inline-source' << '--accessor' << 'cattr_accessor=object'
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
rdoc.rdoc_files.include('README', 'CHANGELOG')
rdoc.rdoc_files.include('lib/*.rb')