var_dump($var_object) equivalent in Ruby
PHP
<?php
var_dump($var_object);
?>
Ruby
puts var_object.inspect
Written by Nino Paolo Amarillento
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#