title: Is there a print_r or var_dump equivalent in Ruby / Ruby on Rails?
body: <p>I'm looking for a way to dump the structure of an object, similar to the PHP functions <code>print_r</code> and <code>var_dump</code> for debugging reasons.</p>