Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 175 Bytes
class String
# The inverse of <tt>String#include?</tt>. Returns true if the string does not include the other string.
def exclude?(string)
!include?(string)
end
end
Something went wrong with that request. Please try again.