Method: Moped::Connection::Socket::SSL#set_encoding

Defined in:
lib/moped/connection/socket/ssl.rb

#set_encoding(string) ⇒ Object

Set the encoding of the underlying socket.

Parameters:

  • string (String)

    The encoding.

Since:

  • 1.3.0



37
38
39
# File 'lib/moped/connection/socket/ssl.rb', line 37

def set_encoding(string)
  socket.set_encoding(string)
end