method

new

ruby latest stable - Class: Bundler::CLI::Gem

Method not available on this version

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

new(options, gem_name, thor)
public

No documentation available.

# File lib/bundler/cli/gem.rb, line 19
    def initialize(options, gem_name, thor)
      @options = options
      @gem_name = resolve_name(gem_name)

      @thor = thor
      thor.behavior = :invoke
      thor.destination_root = nil

      @name = @gem_name
      @target = SharedHelpers.pwd.join(gem_name)

      validate_ext_name if options[:ext]
    end