Permalink
Browse files

Style.

  • Loading branch information...
1 parent 0e49137 commit 3d0a1fae4fecd2dbfeae4ab0dc65c6399f81dc63 @postmodern postmodern committed Jul 15, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 lib/ronin/network/http/http.rb
@@ -117,12 +117,9 @@ def self.expand_url(url)
new_options = {}
url = case url
- when URI
- url
- when Hash
- URI::HTTP.build(url)
- else
- URI(url.to_s)
+ when URI then url
+ when Hash then URI::HTTP.build(url)
+ else URI(url.to_s)
end
new_options[:ssl] = {} if url.scheme == 'https'

0 comments on commit 3d0a1fa

Please sign in to comment.