lib/rubocop/cop/mixin/configurable_max.rb in rubocop-1.9.0 vs lib/rubocop/cop/mixin/configurable_max.rb in rubocop-1.9.1
- old
+ new
@@ -2,9 +2,10 @@
module RuboCop
module Cop
# Handles `Max` configuration parameters, especially setting them to an
# appropriate value with --auto-gen-config.
+ # @deprecated Use `exclude_limit ParameterName` instead.
module ConfigurableMax
private
def max=(value)
cfg = config_to_allow_offenses