diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | hash.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Sat Nov 3 11:43:00 2012 Zachary Scott <zachary@zacharyscott.net> + + * hash.c (rb_hash_delete): Correct grammar + Patch by Glenn Oppegard + [Fixes #208 Github] + Sat Nov 3 11:28:28 2012 Narihiro Nakamura <authornari@gmail.com> * NEWS: add a news about GC::Profiler.raw_data. @@ -815,8 +815,8 @@ rb_hash_delete_key(VALUE hash, VALUE key) * hsh.delete(key) -> value * hsh.delete(key) {| key | block } -> value * - * Deletes and returns a key-value pair from <i>hsh</i> whose key is - * equal to <i>key</i>. If the key is not found, returns the + * Deletes the key-value pair and returns the value from <i>hsh</i> whose + * key is equal to <i>key</i>. If the key is not found, returns the * <em>default value</em>. If the optional code block is given and the * key is not found, pass in the key and return the result of * <i>block</i>. |