def apply_to(klass, options = EMPTY_HASH)
      if mod.respond_to?(:new)
        klass.send(:include, mod.new(options))
      else
        klass.send(:include, mod)
      end
    end
def apply_to(klass, options = EMPTY_HASH)
      if mod.respond_to?(:new)
        klass.send(:include, mod.new(options))
      else
        klass.send(:include, mod)
      end
    end
Apply this plugin to the provided class

 @param [Class] klass

 @api private