method

new

v2_6_3 - Show latest stable - Class: Bundler::CLI::Gem
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