method

register_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.

register_plugin(name, spec, optional_plugin = false)
public

Runs the plugins.rb file in an isolated namespace, records the plugin actions it registers for and then passes the data to index to be stored.

@param [String] name the name of the plugin @param [Specification] spec of installed plugin @param [Boolean] optional_plugin, removed if there is conflict with any

other plugin (used for default source plugins)

@raise [MalformattedPlugin] if plugins.rb raises any error