Class: Jammit::UI::RGProxy

Inherits:
Gem::SilentUI
  • Object
show all
Defined in:
lib/jammit-core/ui.rb

Instance Method Summary collapse

Constructor Details

#initialize(ui) ⇒ RGProxy


42
43
44
# File 'lib/jammit-core/ui.rb', line 42

def initialize(ui)
  @ui = ui
end

Instance Method Details

#say(message) ⇒ Object


46
47
48
49
50
51
52
# File 'lib/jammit-core/ui.rb', line 46

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