summaryrefslogtreecommitdiff
path: root/lib/bundler/ui/rg_proxy.rb
blob: 6f514be87f8c7733dc601680ad56abfe606bd54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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