Method: RuboCop::Cop::Lint::UnreachableCode#initialize

Defined in:
lib/rubocop/cop/lint/unreachable_code.rb

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

Returns a new instance of UnreachableCode.


35
36
37
38
39
# File 'lib/rubocop/cop/lint/unreachable_code.rb', line 35

def initialize(config = nil, options = nil)
  super
  @redefined = []
  @instance_eval_count = 0
end