diff --git a/lib/fasterer/offense.rb b/lib/fasterer/offense.rb index 883b7b1..bd3e862 100644 --- a/lib/fasterer/offense.rb +++ b/lib/fasterer/offense.rb @@ -12,7 +12,7 @@ def initialize(offense_name, line_number) end def explanation - @explanation ||= EXPLANATIONS.fetch(offense_name) + @explanation ||= "#{offense_name}: #{EXPLANATIONS.fetch(offense_name)} end EXPLANATIONS = {