Class: PuppetDocLint

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet-doc-lint.rb,
lib/puppet-doc-lint/parser.rb,
lib/puppet-doc-lint/result.rb,
lib/puppet-doc-lint/runner.rb,
lib/puppet-doc-lint/version.rb,
lib/puppet-doc-lint/doc_runner.rb,
lib/puppet-doc-lint/configuration.rb

Defined Under Namespace

Classes: Configuration, DocRunner, Parser, Result, Runner

Constant Summary collapse

PUPPETDOCLINT_VERSION =
"0.3.0"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.configurationObject

Public: Access PuppetDocLint’s configuration from outside the class.

Returns a PuppetDocLint::Configuration object.



16
17
18
# File 'lib/puppet-doc-lint.rb', line 16

def self.configuration
  @configuration ||= PuppetDocLint::Configuration.new
end

Instance Method Details

#configurationObject

Public: Access PuppetDocLint’s configuration from inside the class.

Returns a PuppetDocLint::Configuration object.



23
24
25
# File 'lib/puppet-doc-lint.rb', line 23

def configuration
  self.class.configuration
end