Gem debug_helper Goes All Modular

Burdette Lamar - Jul 7 '18 - - Dev Community

Per a user suggestion, I have enhanced Ruby gem debug_helper so that it can be used either as a class or as a module.

Per the suggestion, the new module method, putd, has the look and feel of method puts.

Now you can analyze an object using either of these methods (with appropriate require and include):

  • Class method: DebugHelper.show(object, message)
  • Module method: putd object, message

Links:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player