lib/rtask.rb
# Task for generating documents using rdoc.
Task for generating documents using rdoc.
Task for generating documents using rdoc .
def rdoc
    require 'rake/rdoctask'
    Rake::RDocTask.new do |doc|
      doc.title = "#{@package}-#{@version} documentation"
      doc.main = "README.txt"
      doc.rdoc_files.include("{README,History,License}.txt", "lib/**/*.rb")
      doc.options << "--line-numbers" << "--inline-source" << "-c UTF-8"
      yield doc if block_given?
    end
  end
def rdoc require 'rake/rdoctask' Rake :: RDocTask . new do | doc | doc . title = "#{@package}-#{@version} documentation" doc . main = "README.txt" doc . rdoc_files . include ( "{README,History,License}.txt" , "lib/**/*.rb" ) doc . options << "--line-numbers" << "--inline-source" << "-c UTF-8" yield doc if block_given? end end
Task for generating documents using rdoc.
Task for generating documents using rdoc .