Report question

Question: Is there equivalent for PHP's print_r in Ruby / Rails?