diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-22 11:00:55 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-22 11:00:55 -0700 |
commit | f230dbf6990fe4d2b7d33ef2caa3715a33bc0328 (patch) | |
tree | 7aed78379fb4d110b952f1e3d77c833e4ac11efd /railties | |
parent | f05f7ffb2e7e51d8f7e47df6356094aafba8437a (diff) | |
download | rails-f230dbf6990fe4d2b7d33ef2caa3715a33bc0328.tar.gz rails-f230dbf6990fe4d2b7d33ef2caa3715a33bc0328.tar.bz2 rails-f230dbf6990fe4d2b7d33ef2caa3715a33bc0328.zip |
this should be private, no other instances of Root should call it
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/paths.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb index 4a455e9196..c8a74e794b 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -96,7 +96,7 @@ module Rails filter_by { |p| p.load_path? } end - protected + private def filter_by(&block) all_paths.find_all(&block).flat_map { |path| |