Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / logstash   deb

Repository URL to install this package:

class String
  # The inverse of <tt>String#include?</tt>. Returns true if the string
  # does not include the other string.
  #
  #   "hello".exclude? "lo" #=> false
  #   "hello".exclude? "ol" #=> true
  #   "hello".exclude? ?h   #=> false
  def exclude?(string)
    !include?(string)
  end
end