Class: WIP::UI::RGProxy

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

Instance Method Summary collapse

Constructor Details

#initialize(ui) ⇒ RGProxy

Returns a new instance of RGProxy.



49
50
51
52
# File 'lib/wip/ui.rb', line 49

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

Instance Method Details

#say(message) ⇒ Object



54
55
56
57
58
59
60
# File 'lib/wip/ui.rb', line 54

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