class FoodCritic::Linter

def ignore_line_match?(line, rule)

def ignore_line_match?(line, rule)
  ignores = line.to_s[/.*#\s*(.*)/, 1]
  if ignores && ignores.include?("~")
    !rule.matches_tags?(ignores.split(/[ ,]/))
  else
    false
  end
rescue
  false
end