diff options
author | Miklos Fazekas <mfazekas@szemafor.com> | 2016-12-11 12:58:32 +0100 |
---|---|---|
committer | Miklos Fazekas <mfazekas@szemafor.com> | 2016-12-11 12:58:32 +0100 |
commit | 3f4cb5f36eae11c29137f81e99f72b3b8e9c5940 (patch) | |
tree | f193403e59b40f1bc62b64bae56034223a291c68 /lib/net/ssh/proxy | |
parent | 3622f63edf1f34c4b9db020e57fe8c7cd15b340f (diff) | |
download | net-ssh-3f4cb5f36eae11c29137f81e99f72b3b8e9c5940.tar.gz |
Use 1.9 hash syntax
Diffstat (limited to 'lib/net/ssh/proxy')
-rw-r--r-- | lib/net/ssh/proxy/http.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/net/ssh/proxy/http.rb b/lib/net/ssh/proxy/http.rb index 5d64173..49b1695 100644 --- a/lib/net/ssh/proxy/http.rb +++ b/lib/net/ssh/proxy/http.rb @@ -87,11 +87,11 @@ module Net; module SSH; module Proxy body = socket.read(headers["Content-Length"].to_i) end - return { :version => version, - :code => code.to_i, - :reason => reason, - :headers => headers, - :body => body } + return { version: version, + code: code.to_i, + reason: reason, + headers: headers, + body: body } end end |