class Lintrunner::Reporter::Base
Attributes
path[R]
Public Class Methods
new(path)
click to toggle source
# File lib/lintrunner/reporter/base.rb, line 9 def initialize(path) @path = path end
Public Instance Methods
description()
click to toggle source
The description of this reporter. Used for CLI
when listing possible reporters
# File lib/lintrunner/reporter/base.rb, line 26 def description; end
finish(messages)
click to toggle source
Called when the lintrunner is finished executing @param [Array<Lintrunner::Message>] messages
# File lib/lintrunner/reporter/base.rb, line 23 def finish(messages); end
report(message)
click to toggle source
Called when a message is discovered from the lintrunner @param [Lintrunner::Message] message
# File lib/lintrunner/reporter/base.rb, line 19 def report(message); end
start(name)
click to toggle source
Called when a lintrunner is started @param [String] name The name of the lintrunner (ex. “binding.pry check”)
# File lib/lintrunner/reporter/base.rb, line 15 def start(name); end