RDoc::RI::Task creates ri data in
./.rdoc for your project.
It contains the following tasks:
Build ri data
Delete ri data files. This target is automatically added to the main clobber target.
Rebuild the ri data from scratch even if they are not out of date.
Simple example:
require 'rdoc/ri/task' RDoc::RI::Task.new do |ri| ri.main = 'README.rdoc' ri.rdoc_files.include 'README.rdoc', 'lib /*.rb' end
For further configuration details see RDoc::Task.
Create an ri task with the given name. See RDoc::Task for documentation on setting names.
# File rdoc/ri/task.rb, line 47
def initialize name = DEFAULT_NAMES # :yield: self
super
end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.