lib/rr/core_ext/regexp.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Regexp
  def wildcard_match?(other)
    self == other ||
    !!(other.is_a?(String) && other =~ self)
  end

  alias_method :eql?, :==
end