method

register_plugin

ruby latest stable - Class: Bundler::Plugin::Index

Method not available on this version

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

register_plugin(name, path, load_paths, commands, sources, hooks)
public

This function is to be called when a new plugin is installed. This function shall add the functions of the plugin to existing maps and also the name to source location.

@param [String] name of the plugin to be registered @param [String] path where the plugin is installed @param [Array] load_paths for the plugin @param [Array] commands that are handled by the plugin @param [Array] sources that are handled by the plugin