Module Pastel
In: lib/pastel.rb
lib/pastel/decorator_chain.rb
lib/pastel/delegator.rb
lib/pastel/color_parser.rb
lib/pastel/version.rb
lib/pastel/detached.rb
lib/pastel/ansi.rb
lib/pastel/color.rb
lib/pastel/color_resolver.rb
lib/pastel/alias_importer.rb

encoding: utf-8

Methods

new  

Classes and Modules

Module Pastel::ANSI
Class Pastel::AliasImporter
Class Pastel::Color
Class Pastel::ColorParser
Class Pastel::ColorResolver
Class Pastel::DecoratorChain
Class Pastel::Delegator
Class Pastel::Detached

Constants

InvalidAttributeNameError = Class.new(::ArgumentError)   Raised when the style attribute is not supported
InvalidAliasNameError = Class.new(::ArgumentError)   Raised when the color alias is not supported
VERSION = '0.7.2'

Public Instance methods

Create Pastel chainable API

@example

  pastel = Pastel.new enabled: true

@return [Delegator]

@api public

[Validate]