Method: RuboCop::Cop::Base#initialize

Defined in:
lib/rubocop/cop/base.rb

#initialize(config = nil, options = nil) ⇒ Base

Returns a new instance of Base.



71
72
73
74
75
# File 'lib/rubocop/cop/base.rb', line 71

def initialize(config = nil, options = nil)
  @config = config || Config.new
  @options = options || { debug: false }
  reset_investigation
end