<commit_before>= NAME

Color Debug Messages - A way to add nicer output to your script.

= DESCRIPTION

I got tired of plain output on STDOUT, and wanted a nicer way
to add debug/informational messages to my scripts. This works
with the idea that it is easier for our eyes to notice changes
in color than changes in glyph/shape. A red error message is
notices more easily than a "*****" prefix or similar.

To get this effect, we rely on Term::ANSIColor

== Install

  gem install pdkl95-color_debug_messages --source http://gems.github.com

== Usage

The basic use of this script is very simple - you just include
the module into your class, and call the various "puts" wrappers.

    class Foo
      include ColorDebugMessages
      def bar(baz)
        debug "This is a debug message!"
      end
    end

Which produces:
<commit_msg>fixed install instructions<commit_after>= NAME

Color Debug Messages - A way to add nicer output to your script.

= DESCRIPTION

I got tired of plain output on STDOUT, and wanted a nicer way
to add debug/informational messages to my scripts. This works
with the idea that it is easier for our eyes to notice changes
in color than changes in glyph/shape. A red error message is
notices more easily than a "*****" prefix or similar.

To get this effect, we rely on Term::ANSIColor

== Install

  gem install color_debug_messages

== Usage

The basic use of this script is very simple - you just include
the module into your class, and call the various "puts" wrappers.

    class Foo
      include ColorDebugMessages
      def bar(baz)
        debug "This is a debug message!"
      end
    end

Which produces:

{'fraction_non_alphanumeric': 0.05103280680437424, 'fraction_numerical': 0.001215066828675577, 'mean_word_length': 3.38031914893617, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5057171', 'n_tokens_mistral': 462, 'n_tokens_neox': 435, 'n_words': 246}