Class: WurflDevice::UI::RGProxy

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

Instance Method Summary collapse

Constructor Details

#initialize(ui) ⇒ RGProxy

Returns a new instance of RGProxy.



60
61
62
63
# File 'lib/wurfl_device/ui.rb', line 60

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

Instance Method Details

#say(message) ⇒ Object



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

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