method

inject

ruby latest stable - Class: Bundler::CLI

Method not available on this version

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

inject(name, version)
public

No documentation available.

# File lib/bundler/cli.rb, line 610
    def inject(name, version)
      SharedHelpers.major_deprecation 2, "The `inject` command has been replaced by the `add` command"
      require "bundler/cli/inject"
      Inject.new(options.dup, name, version).run
    end