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


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

def cop
  @cop
end

#correctorObject

Returns the value of attribute corrector

Returns:

  • (Object)

    the current value of corrector


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

def corrector
  @corrector
end

#offensesObject

Returns the value of attribute offenses

Returns:

  • (Object)

    the current value of offenses


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

def offenses
  @offenses
end

#processed_sourceObject

Returns the value of attribute processed_source

Returns:

  • (Object)

    the current value of processed_source


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

def processed_source
  @processed_source
end