Class: Potemkin::Logger
- Inherits:
-
Object
- Object
- Potemkin::Logger
- Defined in:
- lib/potemkin/logger.rb
Instance Method Summary collapse
Instance Method Details
#describe(header) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/potemkin/logger.rb', line 4 def describe(header) width = 50 log "#" * width log header.center(width) log "#" * width end |
#log(str) ⇒ Object
11 12 13 |
# File 'lib/potemkin/logger.rb', line 11 def log(str) puts str end |