aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-11-11 05:24:06 +0100
committerXavier Noria <fxn@hashref.com>2015-11-11 05:24:06 +0100
commitc5846344ee2a3e9dcdbc2d26ca4ff5b6002d09b0 (patch)
tree0874dacd857b6b1ab92422a6d46f7f40596aee3c /activesupport
parent0a2e9b02d60ef3bf1ec1dc9d032d25aefc81987e (diff)
downloadrails-c5846344ee2a3e9dcdbc2d26ca4ff5b6002d09b0.tar.gz
rails-c5846344ee2a3e9dcdbc2d26ca4ff5b6002d09b0.tar.bz2
rails-c5846344ee2a3e9dcdbc2d26ca4ff5b6002d09b0.zip
adds a comment about how does filter_out_descendants preserve order
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/file_evented_update_checker.rb1
1 files changed, 1 insertions, 0 deletions
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