summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-03 02:45:15 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-03 02:45:15 +0000
commit63e9bc50f563dd0cddbdf957e27c3159aac49249 (patch)
treed08b7e2fd224d335496632992fbe83d90c68b848 /hash.c
parent4166390229eea57c350f964fd0abf050ce3781d8 (diff)
* 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
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index ea9dd87d8d..b8ba4a88b6 100644
--- a/hash.c
+++ b/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>.