class CucumberLint::Linter

A base linter, not meant to be instantiated

Public Class Methods

new(config:, linted_file: @config = config) click to toggle source
# File lib/cucumber_lint/linter.rb, line 5
def initialize config:, linted_file:
  @config = config
  @linted_file = linted_file
end

Public Instance Methods

add_error(*args) click to toggle source
# File lib/cucumber_lint/linter.rb, line 11
def add_error *args
  @linted_file.add_error(*args)
end
add_fix(*args) click to toggle source
# File lib/cucumber_lint/linter.rb, line 16
def add_fix *args
  @linted_file.add_fix(*args)
end