method
new
v2_6_3 -
Show latest stable
- Class:
Bundler::UI::Shell
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