class Fig::Logging::Colorizable

A String that has colors associated with it.

Attributes

background[R]
foreground[R]

Public Class Methods

new(string = '', foreground = nil, background = nil) click to toggle source
Calls superclass method
# File lib/fig/logging/colorizable.rb, line 10
def initialize(string = '', foreground = nil, background = nil)
  super(string)

  @foreground = foreground
  @background = background
end