Sha256: f3a4e54f9868f649493a18c2fed4e5429b702268a6ee049e40e03892b2f4ef3c
Contents?: true
Size: 283 Bytes
Versions: 6
Compression:
Stored size: 283 Bytes
Contents
class String # This is only required if using a version of Ruby before 2.4. A match? # method for String was added in version 2.4. def match?(string, pos = 0) !!match(string, pos) end unless //.respond_to?(:match?) end class FalseClass def exists? false end end
Version data entries
6 entries across 6 versions & 1 rubygems