# File lib/rspec/core/ruby_project.rb, line 26 def find_first_parent_containing(dir) ascend_until {|path| File.exists?(File.join(path, dir))} end