class Bundler::Plugin::API

def self.source(source, cls = self)

Parameters:
  • (optional) (Class) -- class that handles the source. If not
  • the (String) -- source type they provide
def self.source(source, cls = self)
  cls.send :include, Bundler::Plugin::API::Source
  Plugin.add_source source, cls
end