Class: RedminePluginSupport::RDocTask
- Inherits:
-
GeneralTask
- Object
- Rake::TaskLib
- GeneralTask
- RedminePluginSupport::RDocTask
- Defined in:
- lib/redmine_plugin_support/rdoc_task.rb
Instance Attribute Summary
Attributes inherited from GeneralTask
Instance Method Summary collapse
Methods inherited from GeneralTask
Constructor Details
This class inherits a constructor from RedminePluginSupport::GeneralTask
Instance Method Details
#define ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/redmine_plugin_support/rdoc_task.rb', line 5 def define desc "Generate documentation for XXX" Rake::RDocTask.new(:doc) do |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = Base.instance.project_name rdoc. << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.include('app/**/*.rb') end self end |