lib/puppet-lint/checks.rb
def enabled_checks
    @enabled_checks ||= Proc.new do
      PuppetLint.configuration.checks.select { |check|
        PuppetLint.configuration.send("#{check}_enabled?")
      }
    end.call
  end
# Internal: Get a list of checks that have not been disabled.
#
# Returns an Array of String check names.
Get a list of checks that have not been disabled.
Returns an Array of String check names.
Get a list of checks that have not been disabled . Returns an Array of String check names .
def enabled_checks
    @enabled_checks ||= Proc.new do
      PuppetLint.configuration.checks.select { |check|
        PuppetLint.configuration.send("#{check}_enabled?")
      }
    end.call
  end
def enabled_checks @enabled_checks ||= Proc . new do PuppetLint . configuration . checks . select { | check | PuppetLint . configuration . send ( "#{check}_enabled?" ) } end . call end
Internal: Get a list of checks that have not been disabled.
Internal : Get a list of checks that have not been disabled .