This little method (now also available in zucker/debug) is useful for understanding and creating regexes:
Occasional blog posts about Ruby updates, tools, editor tweaks, and random snippets. You might also be interested in my newer project that docuements lesser-known features in Ruby: Idiosyncratic Ruby.
Not everyone likes debuggers. I rather print the debug values myself – it works and I do not need to learn a debugger :P
The Zucker gem has gotten some new features. Installation is as easy as
gem install zucker