# File lib/rspec/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