Class: Cogger::Formatters::Emoji

Inherits:
Color
  • Object
show all
Defined in:
lib/cogger/formatters/emoji.rb

Overview

Formats by emoji and color.

Constant Summary collapse

TEMPLATE =
"%<emoji:dynamic>s [%<id:dynamic>s] %<message:dynamic>s"

Instance Method Summary collapse

Methods inherited from Color

#call

Constructor Details

#initialize(template = TEMPLATE) ⇒ Emoji

Returns a new instance of Emoji.



9
10
11
# File 'lib/cogger/formatters/emoji.rb', line 9

def initialize(template = TEMPLATE, ...)
  super
end