Sha256: 9316b3c5f5cd6d2d896e6f74973f5b5a95826cd78afa90639de5db4f32f3304f
Contents?: true
Size: 231 Bytes
Versions: 32
Compression:
Stored size: 231 Bytes
Contents
Spec::Matchers.define :smart_match do |expected| match do |actual| case expected when /^\/.*\/?$/ actual =~ eval(expected) when /^".*"$/ actual.index(eval(expected)) else false end end end
Version data entries
32 entries across 32 versions & 9 rubygems