class Take::Lint::Base
Manages linting source files when building. Should be interesting to see how this pans out.
@abstract
Public Class Methods
new(file)
click to toggle source
Initializes the base linter. Requires only one parameter.
@param file [Path] the file that will be linted.
# File lib/take/lint/base.rb, line 13 def initialize(file) @file = file end
Public Instance Methods
lint()
click to toggle source
Lints the given file. Returns an array of lint errors, which is used to give information about what could be fixed.
@abstract @return [Array<Take::Lint::Error>]
# File lib/take/lint/base.rb, line 22 def lint raise NotImplementedError end