diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-10-31 00:28:39 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-10-31 00:28:39 +0000 |
commit | 9d4436bd418e6826372c7f2d05d3f41232d268c2 (patch) | |
tree | 384e25b0c09b51340705a6d22ca109a750c71004 | |
parent | 9b1339dfe76e04e4a21d39301d2236859dc03bfd (diff) | |
download | mogilefs-client-9d4436bd418e6826372c7f2d05d3f41232d268c2.tar.gz |
Implementation details should remain private.
-rw-r--r-- | lib/mogilefs.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mogilefs.rb b/lib/mogilefs.rb index 43a3433..825afc3 100644 --- a/lib/mogilefs.rb +++ b/lib/mogilefs.rb @@ -66,11 +66,11 @@ module MogileFS begin require 'net/http/persistent' - NHP = Net::HTTP::Persistent.new('mogilefs') + NHP = Net::HTTP::Persistent.new('mogilefs') # :nodoc: rescue LoadError require 'net/http' - NHP = Object.new - def NHP.request(uri, req) + NHP = Object.new # :nodoc: + def NHP.request(uri, req) # :nodoc: Net::HTTP.start(uri.host, uri.port) { |h| h.request(req) } end end |