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