Sha256: 382a043f1f153ed5a179d4e1ec5cd93136d7165f47c554df5069e14ba2e5c493
Contents?: true
Size: 175 Bytes
Versions: 152
Compression:
Stored size: 175 Bytes
Contents
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
Version data entries
152 entries across 139 versions & 7 rubygems