Handles `Max` configuration parameters, especially setting them to an appropriate value with --auto-gen-config.
# File lib/rubocop/cop/mixin/configurable_max.rb, line 7 def max=(value) cfg = self.config_to_allow_offenses ||= {} value = [cfg[parameter_name], value].max if cfg[parameter_name] cfg[parameter_name] = value end
# File lib/rubocop/cop/mixin/configurable_max.rb, line 13 def parameter_name 'Max' end
[Validate]
Generated with the Darkfish Rdoc Generator 2.