markdown/readme/template.md in debug_helper-1.8.0 vs markdown/readme/template.md in debug_helper-2.0.0

- old
+ new

@@ -1,18 +1,17 @@ # Debug Helper -## New in Version 1.8 +[![Gem](https://img.shields.io/gem/v/debug_helper.svg?style=flat)](http://rubygems.org/gems/debug_helper "View this project in Rubygems") -Classes analyzed: +## New in Version 2.0 -- [Dir](#dir) -- [Exception](#exception) -- [Range](#range) -- [Regexp](#regexp) -- [IO](#io) -- [MatchData](#matchdata) +Previously, ```debug_helper``` explicated objects for only certain classes in the Ruby core and standard library. +This version supports custom explication of user-defined classes. This means, in effect, that you can use ```debug_helper``` to explicate any classes you choose. + +See [Custom](#custom). + ## About 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) @@ -34,9 +33,13 @@ @[:markdown](class_links.md) Others are treated as: - [Object](#object) + +But wait, there's more! For your own classes, you can create your own handlers: + +- [Custom](#custom) ## Class Method or Module Method? Most examples in this documentation show use of the class method: