We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39257a3 commit b7fdf93Copy full SHA for b7fdf93
1 file changed
gc.c
@@ -2705,10 +2705,10 @@ count_objects_i(VALUE obj, void *d)
2705
*
2706
* It returns a hash, such as:
2707
* {
2708
- * :TOTAL=>10000,
2709
- * :FREE=>3011,
2710
- * :T_OBJECT=>6,
2711
- * :T_CLASS=>404,
+ * TOTAL: 10000,
+ * FREE: 3011,
+ * T_OBJECT: 6,
+ * T_CLASS: 404,
2712
* # ...
2713
* }
2714
@@ -2726,7 +2726,7 @@ count_objects_i(VALUE obj, void *d)
2726
* h = {}
2727
* ObjectSpace.count_objects(h)
2728
* puts h
2729
- * # => { :TOTAL=>10000, :T_CLASS=>158280, :T_MODULE=>20672, :T_STRING=>527249 }
+ * # => { TOTAL: 10000, T_CLASS: 158280, T_MODULE: 20672, T_STRING: 527249 }
2730
2731
* This method is only expected to work on C Ruby.
2732
0 commit comments