ruby-changes:25378
From: zzak <ko1@a...>
Date: Sat, 3 Nov 2012 11:45:25 +0900 (JST)
Subject: [ruby-changes:25378] zzak:r37435 (trunk): * hash.c (rb_hash_delete): Correct grammar
zzak 2012-11-03 11:45:15 +0900 (Sat, 03 Nov 2012) New Revision: 37435 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37435 Log: * hash.c (rb_hash_delete): Correct grammar Patch by Glenn Oppegard [Fixes #208 Github] Modified files: trunk/ChangeLog trunk/hash.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37434) +++ ChangeLog (revision 37435) @@ -1,3 +1,9 @@ +Sat Nov 3 11:43:00 2012 Zachary Scott <zachary@z...> + + * hash.c (rb_hash_delete): Correct grammar + Patch by Glenn Oppegard + [Fixes #208 Github] + Sat Nov 3 11:28:28 2012 Narihiro Nakamura <authornari@g...> * NEWS: add a news about GC::Profiler.raw_data. Index: hash.c =================================================================== --- hash.c (revision 37434) +++ hash.c (revision 37435) @@ -815,8 +815,8 @@ * 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>. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/