Sha256: 96c318fa9dfa5fcab09970e0030148ce396c953869a688dbab81a54a171ce748
Contents?: true
Size: 216 Bytes
Versions: 3
Compression:
Stored size: 216 Bytes
Contents
module Enumerable unless method_defined?(:exclude?) or defined?(::ActiveSupport) # 1.9 or ActiveSupport # The inverse of #include?. # def exclude?(object) !include?(object) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-2.8.4 | lib/core/facets/enumerable/exclude.rb |
facets-2.8.3 | lib/core/facets/enumerable/exclude.rb |
facets-2.8.2 | lib/core/facets/enumerable/exclude.rb |