lib/allocation_stats/allocation.rb in allocation_stats-0.1.1 vs lib/allocation_stats/allocation.rb in allocation_stats-0.1.2

- old
+ new

@@ -117,9 +117,11 @@ "class" => @object.class.name, "class_plus" => class_plus } end + # Convert into a JSON string, which can be used in rack-allocation_stats's + # interactive mode. def to_json(*a) as_json.to_json(*a) end def element_classes(classes)