Enumerable#except #133

wants to merge 1 commit into

2 participants


I realize there are plenty of good reasons not to further pollute Enumerable, but I get a lot of use out of this method, and I think other people would find it handy as well.

Ruby on Rails member
irb(main):001:0> [1,2,3,4,5] - [2,4]
=> [1, 3, 5]
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment