Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enumerable#any?, all?, none? and one? now accept a pattern argument #5096
This is another change adding Ruby 2.5 support : Enumerable#any?, all?, none? and one? now accept a pattern argument (feature #11286 ).
All associated MRI and ruby/spec tests
Thanks for your review and feedback.
All Enumerable tests in ruby-2.5 branch should work with this PR.
I still would like to research and understand why that specific test was failing when each with a block built with JavaInternalBlockBody class is passed but not with one built with BlockCallback.