File: is_match.rb

package info (click to toggle)
ruby-jekyll-asciidoc 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,536 kB
  • sloc: ruby: 1,802; sh: 36; makefile: 6
file content (4 lines) | stat: -rw-r--r-- 139 bytes parent folder | download | duplicates (2)
1
2
3
4
# NOTE remove once minimum required Ruby version is at least 2.4
class Regexp
  alias match? ===
end unless Regexp.method_defined? :match?