Class: Wtch::UI::RGProxy
- Inherits:
-
Gem::SilentUI
- Object
- Gem::SilentUI
- Wtch::UI::RGProxy
- Defined in:
- lib/wtch/ui.rb
Instance Method Summary collapse
-
#initialize(ui) ⇒ RGProxy
constructor
A new instance of RGProxy.
- #say(message) ⇒ Object
Constructor Details
#initialize(ui) ⇒ RGProxy
Returns a new instance of RGProxy.
47 48 49 |
# File 'lib/wtch/ui.rb', line 47 def initialize(ui) @ui = ui end |
Instance Method Details
#say(message) ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/wtch/ui.rb', line 51 def say() if =~ /native extensions/ @ui.info "with native extensions " else @ui.debug() end end |