lib/rubocop/formatter/html_formatter.rb in rubocop-0.89.1 vs lib/rubocop/formatter/html_formatter.rb in rubocop-0.90.0

- old
+ new

@@ -88,12 +88,14 @@ @files = files.sort_by(&:path) @summary = summary end # Make Kernel#binding public. + # rubocop:disable Lint/UselessMethodDefinition def binding super end + # rubocop:enable Lint/UselessMethodDefinition def decorated_message(offense) offense.message.gsub(/`(.+?)`/) do "<code>#{Regexp.last_match(1)}</code>" end