Module: Rainbow

Defined in:
lib/rainbow/core.rb,
lib/rainbow/color.rb,
lib/rainbow/string.rb,
lib/rainbow/version.rb,
lib/rainbow/wrapper.rb,
lib/rainbow/string_utils.rb

Defined Under Namespace

Modules: String Classes: Color, StringUtils, Wrapper

Constant Summary collapse

TERM_EFFECTS =
{
  :reset     => 0,
  :bright    => 1,
  :italic    => 3,
  :underline => 4,
  :blink     => 5,
  :inverse   => 7,
  :hide      => 8,
}
VERSION =
"1.99.0".freeze

Class Attribute Summary collapse

Class Attribute Details

.enabledObject

Returns the value of attribute enabled.



3
4
5
# File 'lib/rainbow/core.rb', line 3

def enabled
  @enabled
end