We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent decc029 commit 9948a8cCopy full SHA for 9948a8c
ext/io/console/console.c
@@ -1896,7 +1896,7 @@ InitVM_console(void)
1896
{
1897
/* :stopdoc: */
1898
cConmode = rb_define_class_under(rb_cIO, "ConsoleMode", rb_cObject);
1899
- rb_define_const(cConmode, "VERSION", rb_str_new_cstr(IO_CONSOLE_VERSION));
+ rb_define_const(cConmode, "VERSION", rb_obj_freeze(rb_str_new_cstr(IO_CONSOLE_VERSION)));
1900
rb_define_alloc_func(cConmode, conmode_alloc);
1901
rb_undef_method(cConmode, "initialize");
1902
rb_define_method(cConmode, "initialize_copy", conmode_init_copy, 1);
0 commit comments