class Regexp
Public Instance Methods
Source
# File lib/rr/core_ext/regexp.rb, line 2 def wildcard_match?(other) self == other || !!(other.is_a?(String) && other =~ self) end
# File lib/rr/core_ext/regexp.rb, line 2 def wildcard_match?(other) self == other || !!(other.is_a?(String) && other =~ self) end