class ChefSpec::Coverage::BerkshelfFilter

def matches?(resource)

def matches?(resource)
  return true if resource.source_line.nil?
  normalized_source_line = resource.source_line.gsub("\\", "/")
  normalized_source_line =~ %r{cookbooks/(?!#{@metadatas.join('|')})}
end