Sha256: 8836ec1e9b809eb76302e4ad264eabd59996bcfae016c3714d7bd4f87c1feaba

Contents?: true

Size: 729 Bytes

Versions: 4

Compression:

Stored size: 729 Bytes

Contents

require 'puppet'
require 'puppet-doc-lint/version'
require 'puppet-doc-lint/parser'
require 'puppet-doc-lint/runner'
require 'puppet-doc-lint/doc_runner'
require 'puppet-doc-lint/result'
require 'puppet-doc-lint/hash'
require 'puppet-doc-lint/string'
require 'puppet-doc-lint/configuration'
require 'rdoc'

class PuppetDocLint
  # Public: Access PuppetDocLint's configuration from outside the class.
  #
  # Returns a PuppetDocLint::Configuration object.
  def self.configuration
    @configuration ||= PuppetDocLint::Configuration.new
  end

  # Public: Access PuppetDocLint's configuration from inside the class.
  #
  # Returns a PuppetDocLint::Configuration object.
  def configuration
    self.class.configuration
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-doc-lint-0.3.0 lib/puppet-doc-lint.rb
puppet-doc-lint-0.2.0 lib/puppet-doc-lint.rb
puppet-doc-lint-0.1.1 lib/puppet-doc-lint.rb
puppet-doc-lint-0.1.0 lib/puppet-doc-lint.rb