Class: VimGolfFinder::CLI::UI
- Inherits:
-
Object
- Object
- VimGolfFinder::CLI::UI
- Defined in:
- lib/vimgolf_finder/ui.rb
Instance Method Summary collapse
- #debug(message) ⇒ Object
- #error(message) ⇒ Object
- #info(message) ⇒ Object
-
#initialize ⇒ UI
constructor
A new instance of UI.
- #log(message) ⇒ Object
- #warn(message) ⇒ Object
Constructor Details
#initialize ⇒ UI
Returns a new instance of UI.
4 5 6 |
# File 'lib/vimgolf_finder/ui.rb', line 4 def initialize super end |
Instance Method Details
#debug(message) ⇒ Object
24 25 26 |
# File 'lib/vimgolf_finder/ui.rb', line 24 def debug() say , :cyan end |
#error(message) ⇒ Object
8 9 10 |
# File 'lib/vimgolf_finder/ui.rb', line 8 def error() say , :red end |
#info(message) ⇒ Object
12 13 14 |
# File 'lib/vimgolf_finder/ui.rb', line 12 def info() say , :green end |
#log(message) ⇒ Object
20 21 22 |
# File 'lib/vimgolf_finder/ui.rb', line 20 def log() say end |
#warn(message) ⇒ Object
16 17 18 |
# File 'lib/vimgolf_finder/ui.rb', line 16 def warn() say , :yellow end |