Module: Docora::Logger
- Defined in:
- lib/docora/logger.rb
Class Method Summary collapse
Class Method Details
.error(text) ⇒ Object
12 13 14 |
# File 'lib/docora/logger.rb', line 12 def error(text) puts text.color(:red).bright end |
.info(text) ⇒ Object
4 5 6 |
# File 'lib/docora/logger.rb', line 4 def info(text) puts text.bright end |
.success(text) ⇒ Object
8 9 10 |
# File 'lib/docora/logger.rb', line 8 def success(text) puts text.color(:green).bright end |