diff options
author | Kenichi Kamiya <[email protected]> | 2021-04-02 01:16:58 +0900 |
---|---|---|
committer | Jeremy Evans <[email protected]> | 2021-04-01 10:10:02 -0700 |
commit | c080bb2284c06fbc5e8090c27781228d487c4021 (patch) | |
tree | 5f7f56d36db7c6d1f162dc676caf4b0d503902ae /object.c | |
parent | 1ac68bba4ef9e51c383ad9bad21d41a5ec8c0869 (diff) |
[Doc] Update to FrozenError from RuntimeError in Object#freeze
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4346
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1287,7 +1287,7 @@ rb_obj_infect(VALUE victim, VALUE carrier) * obj.freeze -> obj * * Prevents further modifications to <i>obj</i>. 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?. * |