diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-26 13:50:50 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-26 13:50:50 -0700 |
commit | 045197f40eb33250bd07357b160f150cfa7515d1 (patch) | |
tree | 67077eabd5b27765a7a14909ee9739c8b119eaa3 /railties/lib | |
parent | ea0789f08d69beb9ddb2ca64c69c4da8f5bd0222 (diff) | |
download | rails-045197f40eb33250bd07357b160f150cfa7515d1.tar.gz rails-045197f40eb33250bd07357b160f150cfa7515d1.tar.bz2 rails-045197f40eb33250bd07357b160f150cfa7515d1.zip |
Don't depend on ivars. Thanks @fesplugas
Diffstat (limited to 'railties/lib')
-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 4ac3d88dc2..95229e35c1 100644 --- a/railties/lib/rails/paths.rb +++ b/railties/lib/rails/paths.rb @@ -203,7 +203,7 @@ module Rails def expand_dir(path, glob) Dir.chdir(path) do - Dir.glob(@glob).map { |file| File.join path, file }.sort + Dir.glob(glob).map { |file| File.join path, file }.sort end end end |