diff options
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile index 034c2fbd01..4b60f8d682 100644 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -18,7 +18,7 @@ Rake::RDocTask.new do |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') -end
\ No newline at end of file +end |