fix syntax warning

This commit is contained in:
Mislav Marohnić 2011-03-15 23:03:27 +01:00
parent 7d277ef563
commit 3552d345d6

View File

@ -119,7 +119,7 @@ module Faraday
case arg
when String then {:uri => proxy_arg_to_uri(arg)}
when URI then {:uri => arg}
when Hash then arg
when Hash
if arg[:uri] = proxy_arg_to_uri(arg[:uri])
arg
else