module Crayon

Constants

COLORS
FORMATS
TERMINATION_STRING
VERSION

Attributes

background[RW]
color[RW]
foreground[RW]
formatting[RW]
method_name[RW]

Public Instance Methods

method_missing(method_name, string) click to toggle source
# File lib/crayon.rb, line 17
def method_missing(method_name, string)
  @method_name = method_name
  parse_method_name
  CrayonString.new(prepare_string(string) || "")
end