- Cool tip on the colorize log ones. Requires a gem of either
rainbow
orcolorize
(warning, colorize conflicts with RuboCop!) - I have different rubymine shortcuts for the letters used in the fencing, such as shortcuts for xxx, yyy, aaa, etc. that generate XXXXXXXX, YYYYYYYYYY, etc.
- Scroll up to see my shortcut for introspecting on the method names and params. I’m digging that one!
- I don’t need to add the log messages for fast search and destroy when using the fencing, but that’s a nice tip! and it encapsulates the colorize as well. One very real issue is that I work on lots of projects, so not needing to add monkey patches is a bonus. I.e., if the debug statement includes what’s needed.
@andyl, per your gist, are you using a gem for colorization?