Module: Rfix::Log
- Included in:
- CLI::Command::Base, CLI::Command::Config, File::Base, Formatter
- Defined in:
- lib/rfix/log.rb
Class Method Summary collapse
Class Method Details
.prompt ⇒ Object
11 12 13 |
# File 'lib/rfix/log.rb', line 11 def prompt @prompt ||= TTY::Prompt.new end |
.say(message) ⇒ Object
15 16 17 |
# File 'lib/rfix/log.rb', line 15 def say() prompt.ok() end |
.say!(message) ⇒ Object
19 20 21 |
# File 'lib/rfix/log.rb', line 19 def say!() prompt.warn() end |