Class: Rake::SDocTask
- Inherits:
-
RDocTask
- Object
- RDocTask
- Rake::SDocTask
- Defined in:
- lib/rake/sdoctask.rb
Overview
Just a customized version of the normal RDoc task for generating SDocs.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ SDocTask
constructor
A new instance of SDocTask.
Constructor Details
#initialize {|_self| ... } ⇒ SDocTask
Returns a new instance of SDocTask.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rake/sdoctask.rb', line 6 def initialize @name = :rdoc @rdoc_files = Rake::FileList.new @rdoc_files.include('README*') @rdoc_files.include('LICENSE*') @rdoc_files.include('lib/**/*.rb') @rdoc_dir = 'docs' @main = Dir['README*'].first @title = nil @template = 'sdoc' @external = false @inline_source = true @options = ['--fmt', 'shtml'] yield self if block_given? define end |