Class: Dry::Logger::Formatters::Template::Colorized Private
- Inherits:
-
Dry::Logger::Formatters::Template
- Object
- Dry::Logger::Formatters::Template
- Dry::Logger::Formatters::Template::Colorized
- Defined in:
- lib/dry/logger/formatters/template.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Dry::Logger::Formatters::Template
Instance Attribute Summary
Attributes inherited from Dry::Logger::Formatters::Template
Instance Method Summary collapse
-
#initialize(value) ⇒ Colorized
constructor
private
A new instance of Colorized.
Methods inherited from Dry::Logger::Formatters::Template
Constructor Details
#initialize(value) ⇒ Colorized
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Colorized.
58 59 60 |
# File 'lib/dry/logger/formatters/template.rb', line 58 def initialize(value) super(Colors.evaluate(value)) end |