Class: CapitaGit::UI::RGProxy
- Inherits:
-
Gem::SilentUI
- Object
- Gem::SilentUI
- CapitaGit::UI::RGProxy
- Defined in:
- lib/capita_git/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.
59 60 61 |
# File 'lib/capita_git/ui.rb', line 59 def initialize(ui) @ui = ui end |
Instance Method Details
#say(message) ⇒ Object
63 64 65 66 67 68 69 |
# File 'lib/capita_git/ui.rb', line 63 def say() if =~ /native extensions/ @ui.info "with native extensions " else @ui.debug() end end |