public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Add rdoc task to activemodel. [#156 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
jakehow (author)
Thu May 15 22:29:55 -0700 2008
lifo (committer)
Fri May 16 02:35:09 -0700 2008
commit  3baf810482303126c75daa7915e200030d1755e0
tree    d3159582cdd4f8437fa3cd97ef134d957a7ec969
parent  5a3fd46d42f05a241b3178af60d38fe5e0cebee6
...
2
3
4
 
 
 
 
 
 
 
 
 
 
 
 
...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
0
@@ -2,4 +2,16 @@
0
 $LOAD_PATH << File.join(File.dirname(__FILE__), 'vendor', 'rspec', 'lib')
0
 require 'rake'
0
 require 'spec/rake/spectask'
0
+require 'rake/rdoctask'
0
+
0
+# Generate the RDoc documentation
0
+Rake::RDocTask.new { |rdoc|
0
+ rdoc.rdoc_dir = 'doc'
0
+ rdoc.title = "Active Model"
0
+ rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
0
+ rdoc.options << '--charset' << 'utf-8'
0
+ rdoc.template = "#{ENV['template']}.rb" if ENV['template']
0
+ rdoc.rdoc_files.include('README', 'CHANGES')
0
+ rdoc.rdoc_files.include('lib/**/*.rb')
0
+}

Comments

    No one has commented yet.