method

validate_plugin!

ruby latest stable - Class: Bundler::Plugin

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

validate_plugin!(plugin_path)
public

Checks if the gem is good to be a plugin

At present it only checks whether it contains plugins.rb file

@param [Pathname] plugin_path the path plugin is installed at @raise [MalformattedPlugin] if plugins.rb file is not found