class RuboCop::ConfigLoader
def transform(config)
Returns a new hash where the parameters of the given config hash have
def transform(config) Hash[config.map { |cop, params| [cop, yield(params)] }] end
def transform(config) Hash[config.map { |cop, params| [cop, yield(params)] }] end