aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-22 10:38:25 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-22 10:38:25 -0700
commita02d672cd7aead8a24e3b10a6b8e12dd91ee0a49 (patch)
tree0abda7b991c492218bfaffc9413fc1681833b5ac /activemodel/Rakefile
parentf4ccc179530d5b9436da87d3c221dfa8fa89119a (diff)
downloadrails-a02d672cd7aead8a24e3b10a6b8e12dd91ee0a49.tar.gz
rails-a02d672cd7aead8a24e3b10a6b8e12dd91ee0a49.tar.bz2
rails-a02d672cd7aead8a24e3b10a6b8e12dd91ee0a49.zip
Horo rdoc template
Diffstat (limited to 'activemodel/Rakefile')
-rw-r--r--activemodel/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index 87e9b547f3..99c9fc3bd1 100644
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -10,7 +10,7 @@ Rake::RDocTask.new { |rdoc|
rdoc.title = "Active Model"
rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
rdoc.options << '--charset' << 'utf-8'
- rdoc.template = "#{ENV['template']}.rb" if ENV['template']
+ rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo'
rdoc.rdoc_files.include('README', 'CHANGES')
rdoc.rdoc_files.include('lib/**/*.rb')
-} \ No newline at end of file
+}