class HTML::Proofer::Checks::Check

def self.subclasses

def self.subclasses
  classes = []
  ObjectSpace.each_object(Class) do |c|
    next unless c.superclass == self
    classes << c
  end
  classes
end

def add_issue(desc)

def add_issue(desc)
  @issues << "#{@path.blue}: #{desc}"
end

def add_to_external_urls(href)

def add_to_external_urls(href)
  if @external_urls[href]
    @external_urls[href] << @path
  else
    @external_urls[href] = [@path]
  end
end

def initialize(src, path, html, opts={})

def initialize(src, path, html, opts={})
  @src    = src
  @path   = path
  @html   = html
  @options = opts
  @issues = []
  @additional_href_ignores = @options[:href_ignore]
  @external_urls = {}
end

def output_filenames

def output_filenames
  Dir[@site.config[:output_dir] + '/**/*'].select{ |f| File.file?(f) }
end

def run

def run
  raise NotImplementedError.new("HTML::Proofer::Check subclasses must implement #run")
end