diff options
Diffstat (limited to 'lib/bundler/ui/rg_proxy.rb')
-rw-r--r-- | lib/bundler/ui/rg_proxy.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/bundler/ui/rg_proxy.rb b/lib/bundler/ui/rg_proxy.rb new file mode 100644 index 0000000000..95a1ecdf0c --- /dev/null +++ b/lib/bundler/ui/rg_proxy.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true +require "bundler/ui" +require "rubygems/user_interaction" + +module Bundler + module UI + class RGProxy < ::Gem::SilentUI + def initialize(ui) + @ui = ui + super() + end + + def say(message) + @ui && @ui.debug(message) + end + end + end +end |