Icecream: Never use print() to debug again in Python
I was wondering if there was any equivalent library for Ruby. Turns out there is: https://github.com/AndyObtiva/puts_debuggerer. With that library,  pd bug_or_band

Prints this:  [PD] /Users/User/trivia_app.rb:4
     > pd bug_or_band
    => "beattle"