def run(cookbook, options = {})
      log.info(message)
      instance = klass.new(cookbook, options)

      inside(cookbook) do
        instance.instance_eval(&block)
      end
    end
def run(cookbook, options = {})
      log.info(message)
      instance = klass.new(cookbook, options)

      inside(cookbook) do
        instance.instance_eval(&block)
      end
    end
Create a new filter object.

 @param [~Plugin::Base] klass
   the class that created this filter
 @param [String] message
   the message given by the filter
 @param [Proc] block
   the block captured by this filter


 Execute this filter in the context of the creating class, inside the
 given cookbook's path.

 @param [Cookbook]
   the cookbook to run this filter against