module Gemmy::Patches::ArrayPatch::InstanceMethods::Exclude

Public Class Methods

autotest() click to toggle source
# File lib/gemmy/patches/array_patch.rb, line 75
def self.autotest
  [1].exclude?(2) && ![2].exclude?(2)
end

Public Instance Methods

exclude?(x) click to toggle source

facets the opposite of include

# File lib/gemmy/patches/array_patch.rb, line 72
def exclude?(x)
  ! include? x
end