diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-05-07 13:13:49 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-07 13:13:49 +0200 |
commit | 6dd0b7245d9b1bd898871bde0d79842ae88a4d67 (patch) | |
tree | 58040e1a93db898e41deffcab37ce628a01d7590 /railties | |
parent | c2c84ece354ea359293bf74978c525178404fb6f (diff) | |
parent | b2437050c88532bae8362d5f001d7104722749a9 (diff) | |
download | rails-6dd0b7245d9b1bd898871bde0d79842ae88a4d67.tar.gz rails-6dd0b7245d9b1bd898871bde0d79842ae88a4d67.tar.bz2 rails-6dd0b7245d9b1bd898871bde0d79842ae88a4d67.zip |
Merge pull request #15007 from vipulnsward/fix-scrubber-overshadow
rename var to fix overshadowing of variable
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/argv_scrubber_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/argv_scrubber_test.rb b/railties/test/generators/argv_scrubber_test.rb index a94350cbd7..31e07bc8da 100644 --- a/railties/test/generators/argv_scrubber_test.rb +++ b/railties/test/generators/argv_scrubber_test.rb @@ -16,7 +16,7 @@ module Rails output = nil exit_code = nil scrubber.extend(Module.new { - define_method(:puts) { |str| output = str } + define_method(:puts) { |string| output = string } define_method(:exit) { |code| exit_code = code } }) scrubber.prepare! |