Sha256: 9a37a2ab346b46bb281675cadbd04f0ed01f90078c6a3341f0a7683684a2ea07
Contents?: true
Size: 255 Bytes
Versions: 16
Compression:
Stored size: 255 Bytes
Contents
# frozen_string_literal: true module ActionPolicy module Ext # Add match? to String for older Rubys module StringMatch refine String do def match?(regexp) !regexp.match(self).nil? end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems