class ChefSpec::Coverage::BlockFilter
end
resource.name =~ /^acme-(.+)/
add_filter do |resource|
# Ignore internal cookbooks
@example Match resources based on a custom block.
def matches?(resource)
def matches?(resource) return true if resource.source_line.nil? @filter.call(resource) end