Skip to content

Commit

Permalink
Revert "Adds not_in? onto Object"
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jul 29, 2016
1 parent 3916656 commit afc9a82
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 81 deletions.
12 changes: 0 additions & 12 deletions activesupport/CHANGELOG.md
@@ -1,15 +1,3 @@
* Introduce `not_in?` on `Object`.

As an opposite method for `in?`, `not_in?` provides equivalent support for exclusion. This turns this:

[1,2].exclude?(user_id)

...into this:

user_id.not_in?([1,2])

*Jon McCartie*

* Defines `Regexp.match?` for Ruby versions prior to 2.4. The predicate
has the same interface, but it does not have the performance boost. Its
purpose is to be able to write 2.4 compatible code.
Expand Down
1 change: 0 additions & 1 deletion activesupport/lib/active_support/core_ext/object.rb
Expand Up @@ -4,7 +4,6 @@
require 'active_support/core_ext/object/deep_dup'
require 'active_support/core_ext/object/try'
require 'active_support/core_ext/object/inclusion'
require 'active_support/core_ext/object/exclusion'

require 'active_support/core_ext/object/conversions'
require 'active_support/core_ext/object/instance_variables'
Expand Down
15 changes: 0 additions & 15 deletions activesupport/lib/active_support/core_ext/object/exclusion.rb

This file was deleted.

53 changes: 0 additions & 53 deletions activesupport/test/core_ext/object/exclusion_test.rb

This file was deleted.

0 comments on commit afc9a82

Please sign in to comment.