# File lib/ditz.rb, line 35 def find_dir_containing target, start=Pathname.new(".") return start if (start + target).exist? unless start.parent.realpath == start.realpath find_dir_containing target, start.parent end end