Method: RuboCop::Cop::Base::InvestigationReport#cop

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

#copObject

Returns the value of attribute cop

Returns:

  • (Object)

    the current value of cop

[View source]

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

def cop
  @cop
end