diff --git a/object.c b/object.c index 8e4c89b974..c1e75d3854 100644 --- a/object.c +++ b/object.c @@ -1287,7 +1287,7 @@ rb_obj_infect(VALUE victim, VALUE carrier) * obj.freeze -> obj * * Prevents further modifications to obj. A - * RuntimeError will be raised if modification is attempted. + * FrozenError will be raised if modification is attempted. * There is no way to unfreeze a frozen object. See also * Object#frozen?. *