diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-05-07 14:32:27 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2014-05-07 14:32:27 +0530 |
commit | b2437050c88532bae8362d5f001d7104722749a9 (patch) | |
tree | 55cf17e3e5859cae254d8378f73b6ebfa50b5892 /railties/test/generators | |
parent | e76c9f67a4a94eacbb54c579a6c14c1b1343817f (diff) | |
download | rails-b2437050c88532bae8362d5f001d7104722749a9.tar.gz rails-b2437050c88532bae8362d5f001d7104722749a9.tar.bz2 rails-b2437050c88532bae8362d5f001d7104722749a9.zip |
rename `str` to `string` to fix overshadowing of variable
Diffstat (limited to 'railties/test/generators')
-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! |