* 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
Родитель 4166390229
Коммит 63e9bc50f5
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -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
Просмотреть файл

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