1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* hash.c (rb_hash_delete): Correct grammar

Patch by Glenn Oppegard
  [Fixes #208 Github]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2012-11-03 02:45:15 +00:00
parent 4166390229
commit 63e9bc50f5
2 changed files with 8 additions and 2 deletions

View file

@ -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.

4
hash.c
View file

@ -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>.