module Reek::Report::SingleLineLocationFormatter
Formats the location of a warning as a combination of source file name and line number. In this format, it is not possible to show more than one line number, so the first number is displayed.
Public Instance Methods
Source
# File lib/reek/report/location_formatter.rb, line 35 def format(warning) "#{warning.source}:#{warning.lines.min}: " end