Sha256: ba09714b73d499c4f5052670451df69068a084ec90a8f37bbe9b96a90d7e2a49
Contents?: true
Size: 430 Bytes
Versions: 14
Compression:
Stored size: 430 Bytes
Contents
module Regexp::Syntax # A syntax that always returns true, passing all tokens as implemented. This # is useful during development, testing, and should be useful for some types # of transformations as well. class Any < Base def initialize # rubocop:disable Lint/MissingSuper @implements = { :* => [:*] } end def implements?(_type, _token) true end def implements!(_type, _token) true end end end
Version data entries
14 entries across 10 versions & 5 rubygems