Sha256: 06e68f1901c87a31f5abda5f531a9c147df59083c81b16e3aca436f3f6e33728
Contents?: true
Size: 298 Bytes
Versions: 38
Compression:
Stored size: 298 Bytes
Contents
module RSpec module Matchers # :call-seq: # should exist # should_not exist # # Passes if actual.exist? def exist(arg=nil) Matcher.new :exist do match do |actual| arg ? actual.exist?(arg) : actual.exist? end end end end end
Version data entries
38 entries across 38 versions & 3 rubygems