Method: Bundler::UI::Shell#initialize

Defined in:
lib/bundler/ui/shell.rb

#initialize(options = {}) ⇒ Shell



14
15
16
17
18
19
20
# File 'lib/bundler/ui/shell.rb', line 14

def initialize(options = {})
  Thor::Base.shell = options["no-color"] ? Thor::Shell::Basic : nil
  @shell = Thor::Base.shell.new
  @level = ENV["DEBUG"] ? "debug" : "info"
  @warning_history = []
  @output_stream = :stdout
end