# File lib/rspec/core/ruby_project.rb, line 30 def ascend_until Pathname(File.expand_path('.')).ascend do |path| return path if yield(path) end end