Method: PuppetLint::Configuration#add_check

Defined in:
lib/puppet-lint/configuration.rb

#add_check(check, klass) ⇒ Object

Internal: Register a new check.

check - The String name of the check klass - The Class containing the check logic.

Returns nothing.



112
113
114
115
# File 'lib/puppet-lint/configuration.rb', line 112

def add_check(check, klass)
  self.class.add_check(check)
  check_object[check] = klass
end