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( = {}) Thor::Base.shell = ["no-color"] ? Thor::Shell::Basic : nil @shell = Thor::Base.shell.new @level = ENV["DEBUG"] ? "debug" : "info" @warning_history = [] @output_stream = :stdout end |