lib/bundler/ui/shell.rb in bundler-1.12.6 vs lib/bundler/ui/shell.rb in bundler-1.13.0.pre.1
- old
+ new
@@ -15,9 +15,13 @@
@shell = Thor::Base.shell.new
@level = ENV["DEBUG"] ? "debug" : "info"
@warning_history = []
end
+ def add_color(string, color)
+ @shell.set_color(string, color)
+ end
+
def info(msg, newline = nil)
tell_me(msg, nil, newline) if level("info")
end
def confirm(msg, newline = nil)