Icecream: Never use print() to debug again in Python
I was wondering if there was any equivalent library for Ruby. Turns out there is: <a href="https://github.com/AndyObtiva/puts_debuggerer" rel="nofollow">https://github.com/AndyObtiva/puts_debuggerer</a>. With that library,<p><pre><code>  pd bug_or_band
</code></pre>
Prints this:<p><pre><code>  [PD] /Users/User/trivia_app.rb:4
     > pd bug_or_band
    => "beattle"</code></pre>