Class: Net::LDAP::Connection::DefaultSocket
- Inherits:
-
Object
- Object
- Net::LDAP::Connection::DefaultSocket
- 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
746 747 748 |
# File 'lib/net/ldap/connection.rb', line 746 def self.new(host, port, socket_opts = {}) Socket.tcp(host, port, **socket_opts) end |