I am learning Ruby & Perl has this very convenient module called Data::Dumper, which allows you to recursively analyze a data structure (like hash) & allow you to print it. This is very useful while debugging. Is there some thing similar for Ruby?
I am learning Ruby & Perl has this very convenient module called Data::Dumper, which
Share
Look into pp
example:
there is also the inspect method which also works quite nicely