Module: Lab42::Color

Extended by:
Color, Encode, Output
Included in:
Color
Defined in:
lib/lab42/color.rb,
lib/lab42/color/encode.rb,
lib/lab42/color/output.rb,
lib/lab42/color/version.rb,
lib/lab42/color/color_definitions.rb

Defined Under Namespace

Modules: ColorDefinitions, Encode, Output

Constant Summary collapse

BadColorSpecification =
Class.new(RuntimeError)
VERSION =
'0.1.2'
CSI =
"\e["

Class Method Summary collapse

Methods included from Encode

color, sgc

Methods included from Output

putc, putcs

Class Method Details

.included(into) ⇒ Object



14
15
16
17
# File 'lib/lab42/color.rb', line 14

def self.included(into)
  into.send(:include, Encode)
  into.send(:include, Output)
end