diff options
author | Andre Arko <andre@arko.net> | 2015-07-18 16:42:16 -0600 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-07-18 16:44:56 -0600 |
commit | 14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a (patch) | |
tree | 080c4590629671f0bf0fc23225b9b4b5e5e16e95 /spec/support/streams.rb | |
parent | 6537566d7179d3aee3451ece710cbe79ced95d4c (diff) | |
download | bundler-14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a.tar.gz |
Fix Style/SpaceInsideBlockBraces
closes #3850
Diffstat (limited to 'spec/support/streams.rb')
-rw-r--r-- | spec/support/streams.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/streams.rb b/spec/support/streams.rb index 6a0995133f..f89c506c93 100644 --- a/spec/support/streams.rb +++ b/spec/support/streams.rb @@ -4,10 +4,10 @@ def capture(*streams) streams.map!(&:to_s) begin result = StringIO.new - streams.each { |stream| eval "$#{stream} = result" } + streams.each {|stream| eval "$#{stream} = result" } yield ensure - streams.each { |stream| eval("$#{stream} = #{stream.upcase}") } + streams.each {|stream| eval("$#{stream} = #{stream.upcase}") } end result.string end |