From c5846344ee2a3e9dcdbc2d26ca4ff5b6002d09b0 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Wed, 11 Nov 2015 05:24:06 +0100 Subject: adds a comment about how does filter_out_descendants preserve order --- activesupport/lib/active_support/file_evented_update_checker.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/file_evented_update_checker.rb b/activesupport/lib/active_support/file_evented_update_checker.rb index d63c8e2438..ca3788a187 100644 --- a/activesupport/lib/active_support/file_evented_update_checker.rb +++ b/activesupport/lib/active_support/file_evented_update_checker.rb @@ -144,6 +144,7 @@ module ActiveSupport } end + # Array#- preserves order. directories - descendants end end -- cgit v1.2.3