Class: Xmvc::UI::RGProxy
- Inherits:
-
Gem::SilentUI
- Object
- Gem::SilentUI
- Xmvc::UI::RGProxy
- Defined in:
- lib/xmvc/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.
42 43 44 |
# File 'lib/xmvc/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/xmvc/ui.rb', line 46 def say() if =~ /native extensions/ @ui.info "with native extensions " else @ui.debug() end end |