From f3bb3f1c4e2a879b56c7cd22dcd4ec41da17760b Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Wed, 22 May 2019 16:59:06 -0700 Subject: Delete evented_file_update_checker existing_parent This is no longer used as of caa3cc8868206f8109e0d633efb09d31e94ef635 --- activesupport/lib/active_support/evented_file_update_checker.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb index 3893b0de0e..3f6fd58f5e 100644 --- a/activesupport/lib/active_support/evented_file_update_checker.rb +++ b/activesupport/lib/active_support/evented_file_update_checker.rb @@ -187,13 +187,6 @@ module ActiveSupport lcsp end - # Returns the deepest existing ascendant, which could be the argument itself. - def existing_parent(dir) - dir.ascend do |ascendant| - break ascendant if ascendant.directory? - end - end - # Filters out directories which are descendants of others in the collection (stable). def filter_out_descendants(dirs) return dirs if dirs.length < 2 -- cgit v1.2.3