Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Hash#reject! on a frozen object should return an Enumerator when no block given #2311

Merged
merged 2 commits into from Apr 24, 2013

Conversation

Projects
None yet
2 participants
Member

kachick commented Apr 24, 2013

Add Hash#reject! to #2278

kachick added some commits Apr 24, 2013

Fix and adjust some specs for Hash#reject!
* Add returning Enumerator specs for frozen instance via `it _behaves_like`
* Adjust conflict block `before`
* Fix a spec of "is equivalent to delete_if if changes are made"
  That is comparing same object after side effect method.
* Remove dupulicated specs
  ( "is equivalent to delete_if if changes are made" including
    "processes entries with the same order as delete_if" specs )

dbussink added a commit that referenced this pull request Apr 24, 2013

Merge pull request #2311 from kachick/fix-hash-reject
Hash#reject! on a frozen object should return an Enumerator when no block given

@dbussink dbussink merged commit 7661c1e into rubinius:master Apr 24, 2013

1 check passed

default The Travis build passed
Details

@kachick kachick deleted the kachick:fix-hash-reject branch Apr 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment