# File lib/moped/connection.rb, line 49 def connect credentials.clear @sock = if !!options[:ssl] Socket::SSL.connect(host, port, timeout) else Socket::TCP.connect(host, port, timeout) end end