Class: Net::LDAP::Connection::DefaultSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/net/ldap/connection.rb

Overview

Wrap around Socket.tcp to normalize with other Socket initializers

Class Method Summary collapse

Class Method Details

.new(host, port, socket_opts = {}) ⇒ Object


712
713
714
# File 'lib/net/ldap/connection.rb', line 712

def self.new(host, port, socket_opts = {})
  Socket.tcp(host, port, **socket_opts)
end