File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ Compatibility:
29
29
* Fix ` Kernel#sprintf ` formatting for ` %c ` when used non-ASCII encoding (#2369 , @andrykonchin ).
30
30
* Fix ` Kernel#sprintf ` argument casting for ` %c ` (@andrykonchin ).
31
31
* Implement the ` rb_enc_strlen ` function for use by native extensions (@nirvdrum ).
32
+ * Match tag values used by ` rb_protect ` and ` rb_jump_tag ` for the ` tk ` gem (#2556 , @aardvark179 ).
33
+ * Implement ` rb_eval_cmd_kw ` to support the ` tk ` gem (#2556 , @aardvark179 ).
34
+ * Fix ` rb_class2name ` to call ` inspect ` on anonymous classes like in CRuby (#2701 , @aardvark179 ).
32
35
33
36
Performance:
34
37
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ VALUE rb_class_name(VALUE ruby_class) {
71
71
VALUE name = RUBY_INVOKE (ruby_class , "name" );
72
72
73
73
if (NIL_P (name )) {
74
- return rb_class_name ( rb_obj_class ( ruby_class ) );
74
+ return RUBY_INVOKE ( ruby_class , "inspect" );
75
75
} else {
76
76
return name ;
77
77
}
You can’t perform that action at this time.
0 commit comments