diff options
author | Bart de Water <bartdewater@gmail.com> | 2018-04-21 13:23:42 -0400 |
---|---|---|
committer | Bart de Water <bartdewater@gmail.com> | 2018-04-21 13:23:42 -0400 |
commit | 999e7ec505d8088b3bd82298750c0f1d0043cede (patch) | |
tree | 213218f204d8bdd38882e96ee6e1f1955388522b /activesupport | |
parent | e236454a1a7812898b60585e77cb7feae85a4ea4 (diff) | |
download | rails-999e7ec505d8088b3bd82298750c0f1d0043cede.tar.gz rails-999e7ec505d8088b3bd82298750c0f1d0043cede.tar.bz2 rails-999e7ec505d8088b3bd82298750c0f1d0043cede.zip |
Fix Style/RedundantReturn offenses
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/testing/stream.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/stream.rb b/activesupport/lib/active_support/testing/stream.rb index d070a1793d..127cfe1e12 100644 --- a/activesupport/lib/active_support/testing/stream.rb +++ b/activesupport/lib/active_support/testing/stream.rb @@ -33,7 +33,7 @@ module ActiveSupport yield stream_io.rewind - return captured_stream.read + captured_stream.read ensure captured_stream.close captured_stream.unlink |