method

new

ruby latest stable - Class: Bundler::UI::Shell

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 = {})
public

No documentation available.

# File lib/bundler/ui/shell.rb, line 12
      def initialize(options = {})
        if options["no-color"] || !$stdout.tty?
          Thor::Base.shell = Thor::Shell::Basic
        end
        @shell = Thor::Base.shell.new
        @level = ENV["DEBUG"] ? "debug" : "info"
        @warning_history = []
      end