diff options
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -333,6 +333,7 @@ static VALUE rb_hash_set_default(hash, ifnone) VALUE hash, ifnone; { + rb_hash_modify(hash); RHASH(hash)->ifnone = ifnone; return hash; } |