mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
20 lines
306 B
Ruby
20 lines
306 B
Ruby
|
# 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
|