fix typo in Hash#delete docs

This commit is contained in:
S-H-GAMELINKS 2020-06-01 01:49:15 +09:00 committed by Hiroshi SHIBATA
parent b7e1de117e
commit 6a0405def2
Notes: git 2020-06-01 08:11:29 +09:00

2
hash.c
View File

@ -2506,7 +2506,7 @@ rb_hash_delete(VALUE hash, VALUE key)
/*
* call-seq:
* hash.delete(key) -> value or nil
* hash.delete(key) { |key| ... } -<value
* hash.delete(key) { |key| ... } -> value
*
* Deletes the entry for the given +key+
* and returns its associated value.