Sha256: b565e3de315b724f5bc36db7963122efeeae88dd1cd1521e109cc075d80310a6
Contents?: true
Size: 145 Bytes
Versions: 22
Compression:
Stored size: 145 Bytes
Contents
class Regexp def wildcard_match?(other) self == other || !!(other.is_a?(String) && other =~ self) end alias_method :eql?, :== end
Version data entries
22 entries across 22 versions & 1 rubygems