Module: SimpleColor

Extended by:
SimpleColor
Includes:
Mixin, Opts, Utilities
Included in:
SimpleColor
Defined in:
lib/simplecolor.rb,
lib/simplecolor/rgb.rb,
lib/simplecolor/colors.rb,
lib/simplecolor/colorer.rb,
lib/simplecolor/version.rb,
lib/simplecolor/rgb_colors.rb

Overview

rgb color conversion taken from the paint gem, all copyright belong to its author

Defined Under Namespace

Modules: ColorWrapper, Colorer, Mixin, Opts, Utilities Classes: RGB

Constant Summary collapse

SimpleColorError =
Class.new(StandardError)
RGBError =
Class.new(SimpleColorError)
WrongRGBColor =
Class.new(RGBError)
WrongRGBParameter =
Class.new(RGBError)
ColorerError =
Class.new(SimpleColorError)
WrongColor =
Class.new(ColorerError)
WrongParameter =
Class.new(ColorerError)
VERSION =

simplecolor version

"0.4.0"

Instance Attribute Summary

Attributes included from Opts

#opts

Method Summary

Methods included from Mixin

define_color_methods, #mix_in, #mix_in_string, #mixin

Methods included from Utilities

#[], #attributes_from_colors, #clear, #color_entities, #color_strings, #copy_colors, #current_colors, #fill