Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
source(source, cls = self)
public
The plugins should declare that they provide a installation source through this
helper.
@param [String] the source type they provide
@param [Class] (optional) class that handles the
source. If not
provided, the `self` class will be used.
# File lib/bundler/plugin/api.rb, line 43
def self.source(source, cls = self)
cls.send :include, Bundler::Plugin::API::Source
Plugin.add_source source, cls
end