Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
9 additions
and 15 deletions.
@@ -1,4 +1 @@ | ||
fails:Hash#each_key calls block once for each key, passing key | ||
fails:Hash#each_key returns an Enumerator if called on a non-empty hash without a block | ||
fails:Hash#each_key returns an Enumerator if called on an empty hash without a block | ||
fails:Hash#each_key returns an Enumerator if called on a frozen instance |
@@ -1,6 +1,3 @@ | ||
fails:Hash#each_pair yields a [[key, value]] Array for each pair to a block expecting |*args| | ||
fails:Hash#each_pair yields the key and value of each pair to a block expecting |key, value| | ||
fails:Hash#each_pair properly expands (or not) child class's 'each'-yielded args | ||
fails:Hash#each_pair returns an Enumerator if called on a non-empty hash without a block | ||
fails:Hash#each_pair returns an Enumerator if called on an empty hash without a block | ||
fails:Hash#each_pair returns an Enumerator if called on a frozen instance |
@@ -1,6 +1,3 @@ | ||
fails:Hash#each yields a [[key, value]] Array for each pair to a block expecting |*args| | ||
fails:Hash#each yields the key and value of each pair to a block expecting |key, value| | ||
fails:Hash#each properly expands (or not) child class's 'each'-yielded args | ||
fails:Hash#each returns an Enumerator if called on a non-empty hash without a block | ||
fails:Hash#each returns an Enumerator if called on an empty hash without a block | ||
fails:Hash#each returns an Enumerator if called on a frozen instance |
@@ -1,5 +1 @@ | ||
fails:Hash#each_value calls block once for each key, passing value | ||
fails:Hash#each_value processes values in the same order as values() | ||
fails:Hash#each_value returns an Enumerator if called on a non-empty hash without a block | ||
fails:Hash#each_value returns an Enumerator if called on an empty hash without a block | ||
fails:Hash#each_value returns an Enumerator if called on a frozen instance |