Class: RuboCop::Cop::Base::InvestigationReport

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/cop/base.rb

Overview

Reports of an investigation. Immutable Consider creation API private

Instance Attribute Summary collapse

Instance Attribute Details

#copObject

Returns the value of attribute cop

Returns:

  • (Object)

    the current value of cop



48
49
50
# File 'lib/rubocop/cop/base.rb', line 48

def cop
  @cop
end

#correctorObject

Returns the value of attribute corrector

Returns:

  • (Object)

    the current value of corrector



48
49
50
# File 'lib/rubocop/cop/base.rb', line 48

def corrector
  @corrector
end

#offensesObject

Returns the value of attribute offenses

Returns:

  • (Object)

    the current value of offenses



48
49
50
# File 'lib/rubocop/cop/base.rb', line 48

def offenses
  @offenses
end

#processed_sourceObject

Returns the value of attribute processed_source

Returns:

  • (Object)

    the current value of processed_source



48
49
50
# File 'lib/rubocop/cop/base.rb', line 48

def processed_source
  @processed_source
end