Sha256: fc8e14a2240723aec0ba664ed48c2f64a5fba506df806d5057fc954dbd92e110
Contents?: true
Size: 390 Bytes
Versions: 55
Compression:
Stored size: 390 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 @implements = { :* => [:*] } end def implements?(type, token) true end def implements!(type, token) true end end end
Version data entries
55 entries across 50 versions & 6 rubygems