Class: Dimples::Logger
- Inherits:
-
Logger
- Object
- Logger
- Dimples::Logger
- Defined in:
- lib/dimples/logger.rb
Instance Method Summary collapse
- #debug_generation(type, count) ⇒ Object
-
#initialize ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
#initialize ⇒ Logger
Returns a new instance of Logger.
3 4 5 6 |
# File 'lib/dimples/logger.rb', line 3 def initialize(*) super @formatter = LogFormatter end |
Instance Method Details
#debug_generation(type, count) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/dimples/logger.rb', line 8 def debug_generation(type, count) = "Generating #{type} (#{count} item" += 's' if count != 1 += ')...' debug() end |