Refactor many many things
[gitmo/Mouse.git] / lib / Mouse / Object.pm
index 8aa22b5..16846f5 100644 (file)
@@ -71,7 +71,8 @@ sub dump {
 
     require 'Data/Dumper.pm'; # we don't want to create its namespace
     my $dd = Data::Dumper->new([$self]);
-    $dd->Maxdepth(defined($maxdepth) ? $maxdepth : 1);
+    $dd->Maxdepth(defined($maxdepth) ? $maxdepth : 2);
+    $dd->Indent(1);
     return $dd->Dump();
 }