lib/io_streams/deprecated.rb in iostreams-1.2.1 vs lib/io_streams/deprecated.rb in iostreams-1.3.0

- old
+ new

@@ -204,10 +204,10 @@ if streams.is_a?(Symbol) path.stream(streams) elsif streams.is_a?(Array) streams.each { |stream| apply_old_style_streams(path, stream) } elsif streams.is_a?(Hash) - streams.each_pair { |stream, options| path.stream(stream, options) } + streams.each_pair { |stream, options| path.stream(stream, **options) } else raise ArgumentError, "Invalid old style stream supplied: #{params.inspect}" end end end