Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/yesman/logger.rb
Instance Method Summary collapse
- #line_break ⇒ Object
- #log_creation(heading, file_path) ⇒ Object
- #log_emphasis(heading, message) ⇒ Object
- #log_heading(heading) ⇒ Object
- #log_message(message) ⇒ Object
Instance Method Details
#line_break ⇒ Object
20 21 22 |
# File 'lib/yesman/logger.rb', line 20 def line_break puts "" end |
#log_creation(heading, file_path) ⇒ Object
9 10 11 |
# File 'lib/yesman/logger.rb', line 9 def log_creation heading, file_path puts "... #{Paint[heading, :green]} #{file_path}" end |
#log_emphasis(heading, message) ⇒ Object
5 6 7 |
# File 'lib/yesman/logger.rb', line 5 def log_emphasis heading, puts "#{Paint[heading, :green]} #{Paint[, :cyan]}" end |
#log_heading(heading) ⇒ Object
13 14 15 |
# File 'lib/yesman/logger.rb', line 13 def log_heading heading puts "#{Paint[heading, :yellow]}" end |
#log_message(message) ⇒ Object
17 18 19 |
# File 'lib/yesman/logger.rb', line 17 def puts "#{}" end |