Method: RuboCop::Cop::Offense#cop_name
- Defined in:
- lib/rubocop/cop/offense.rb
permalink #cop_name ⇒ String (readonly)
Returns the cop name as a String for which this offense is for.
50 51 52 |
# File 'lib/rubocop/cop/offense.rb', line 50 def cop_name @cop_name end |