Class: Bundler::UI::RGProxy

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

Instance Method Summary collapse

Constructor Details

#initialize(ui) ⇒ RGProxy

Returns a new instance of RGProxy.



59
60
61
62
# File 'lib/bundler/ui.rb', line 59

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

Instance Method Details

#say(message) ⇒ Object



64
65
66
67
68
69
70
# File 'lib/bundler/ui.rb', line 64

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