Class: Cogger::Formatters::Emoji

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

Overview

Formats by emoji and color.

Constant Summary collapse

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

Constants inherited from Abstract

Abstract::NEW_LINE, Abstract::SANITIZERS

Instance Method Summary collapse

Methods inherited from Color

#call

Methods inherited from Abstract

#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