Module: PuppetLintParamDocs

Defined in:
lib/puppet-lint-param-docs/tasks.rb

Defined Under Namespace

Classes: RakeTask

Class Method Summary collapse

Class Method Details

.define_selective(&task_block) ⇒ Object

A helper to define a more specific rake task that runs after the usual ‘lint’ task, but only with param docs checks. It disables the param docs checks in the main lint task.

Allows users to define a more restrictive pattern for param docs checks.



8
9
10
# File 'lib/puppet-lint-param-docs/tasks.rb', line 8

def self.define_selective(&task_block)
  RakeTask.new.define_selective(&task_block)
end