Class | YARD::Rake::YardocTask |
In: |
lib/yard/rake/yardoc_task.rb
|
Parent: | ::Rake::TaskLib |
The rake task to run {CLI::Yardoc} and generate documentation.
after | [RW] | Runs a Proc after the task @return [Proc] a proc to call after running the task |
before | [RW] | Runs a Proc before the task @return [Proc] a proc to call before running the task |
files | [RW] | The Ruby source files (and any extra documentation files separated by ’-’) to process @return [Array<String>] a list of files |
name | [RW] | The name of the task @return [String] the task name |
options | [RW] | Options to pass to {CLI::Yardoc} @return [Hash] the options passed to the commandline utility |
verifier | [RW] |
@return [Proc] an optional lambda to run against all objects being
generated. Any object that the lambda returns false for will be excluded from documentation. @see Verifier |
Creates a new task with name name.
@param [String, Symbol] name the name of the rake task @yield a block to allow any options to be modified on the task @yieldparam [YardocTask] _self the task object to allow any parameters
to be changed.