Class: Bundler::UI::RGProxy

Inherits:
Gem::SilentUI
  • Object
show all
Defined in:
lib/bundler/ui/rg_proxy.rb

Instance Method Summary collapse

Constructor Details

#initialize(ui) ⇒ RGProxy



7
8
9
10
# File 'lib/bundler/ui/rg_proxy.rb', line 7

def initialize(ui)
  @ui = ui
  super()
end

Instance Method Details

#say(message) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/bundler/ui/rg_proxy.rb', line 12

def say(message)
  if message =~ /native extensions/
    @ui.info "with native extensions "
  else
    @ui.debug(message)
  end
end