Class: CapitaGit::UI::RGProxy

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

Instance Method Summary collapse

Constructor Details

#initialize(ui) ⇒ RGProxy


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

def initialize(ui)
  @ui = ui
end

Instance Method Details

#say(message) ⇒ Object


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

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