Sha256: 33109aa57ac499329f7622ae07f8f552575ba397de429980c4092eaee73d5923
Contents?: true
Size: 164 Bytes
Versions: 100
Compression:
Stored size: 164 Bytes
Contents
class Regexp def wildcard_match?(other) return true if self == other return false unless other.is_a?(String) (other =~ self) ? true : false end end
Version data entries
100 entries across 96 versions & 9 rubygems