summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
-rw-r--r--error.c12
1 files changed, 10 insertions, 2 deletions
@@ -2226,8 +2226,16 @@ rb_error_frozen(const char *what)
void
rb_error_frozen_object(VALUE frozen_obj)
{
- rb_raise(rb_eRuntimeError, "can't modify frozen %"PRIsVALUE,
- CLASS_OF(frozen_obj));
}
#undef rb_check_frozen