Sha256: 0c5e555a91f57ecd86f68f34b0d5cd73889665e175e5de09d96099fc0120a014
Contents?: true
Size: 600 Bytes
Versions: 71
Compression:
Stored size: 600 Bytes
Contents
# TODO(sissel): This requires ruby 1.9.x module Insist::Comparators # value != expected def !=(expected) assert(value != expected, "Expected #{value.inspect} != #{expected.inspect}") end # def != # TODO(sissel): This requires ruby 1.9.x # value =~ pattern def =~(pattern) assert(value =~ pattern, "Expected #{value.inspect} =~ #{pattern.inspect}") end # def =~ # TODO(sissel): This requires ruby 1.9.x # value !~ pattern def !~(pattern) assert(value !~ pattern, "Expected #{value.inspect} !~ #{pattern.inspect}") end # def !~ end
Version data entries
71 entries across 67 versions & 18 rubygems