Sha256: ba8ee65b3b3170f980558c6c4a03d49832b06a573a5131ec9ec85b42fd511ffa

Contents?: true

Size: 777 Bytes

Versions: 1

Compression:

Stored size: 777 Bytes

Contents

# Debug Helper

If (like me), your debugging style is [printf debugging](https://en.wikipedia.org/wiki/Debugging#Techniques), you will have shoved this into your code many times:

@[ruby](show_hash.rb)

And this:

@[ruby](show_array.rb)

This helper assists in debugging by printing an analysis of a given object.  The analysis is a ```yaml``` structure, and is written to ```stdout```.

For certain classes (see below), the analysis is very detailed.

For the collection classes ```Array```, ```Hash```, and ```Struct```, the analysis is also recursive;  that is, the collection's values are themselves analyzed.

Classes treated in detail:

@[:markdown](class_links.md)

Others are treated as:

- [Object](#object)

@[:markdown](class_inclusions.md)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
debug_helper-1.0.0 markdown/readme/template.md