= private = protected
exist(arg=nil)
Passes if actual.exist?
# File lib/spec/matchers/exist.rb, line 8 def exist(arg=nil) Matcher.new :exist do match do |actual| arg ? actual.exist?(arg) : actual.exist? end end end