Module: Cabin::Mixins::Colors

Defined in:
lib/cabin/mixins/colors.rb

Overview

Colorful logging.

Constant Summary collapse

COLORS =
[ :black, :red, :green, :yellow, :blue, :magenta, :cyan, :white ]

Instance Method Summary collapse

Instance Method Details

#included(klass) ⇒ Object



6
7
8
# File 'lib/cabin/mixins/colors.rb', line 6

def included(klass)
  klass.extend(Cabin::Mixins::Logger)
end