Class: VidazingLogger::Colors::NormalColorScheme Private

Inherits:
VidazingLogger::ColorScheme show all
Defined in:
lib/vidazing_logger/colors/normal_color_scheme.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.

Colors for non error messages

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from VidazingLogger::ColorScheme

#name

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from VidazingLogger::ColorScheme

create

Constructor Details

#initializeNormalColorScheme

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 NormalColorScheme

Since:

  • 0.1.0



12
13
14
15
16
# File 'lib/vidazing_logger/colors/normal_color_scheme.rb', line 12

def initialize
  @name = self.class.name

  ColorScheme.create(@name, date_color: :blue)
end

Class Method Details

.idObject

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.

Since:

  • 0.1.0



19
20
21
# File 'lib/vidazing_logger/colors/normal_color_scheme.rb', line 19

def id
  new.name
end