10 lines
216 B
Ruby
10 lines
216 B
Ruby
|
require "rdoc/task"
|
||
|
task default: [:rdoc]
|
||
|
|
||
|
Rake::RDocTask.new do |rdoc|
|
||
|
rdoc.rdoc_dir = "rdoc"
|
||
|
rdoc.title = "rdoc"
|
||
|
rdoc.options << "--line-numbers" << "--inline-source"
|
||
|
rdoc.rdoc_files.include("**/*.rb")
|
||
|
end
|