mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8f37629519
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
19 lines
310 B
Ruby
19 lines
310 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "../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
|