Class: TCPSocket
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::IPSocket
|
|
Instance Chain:
self,
::IPSocket
|
|
Inherits: |
IPSocket
|
Defined in: | lib/resolv-replace.rb |
Class Method Summary
- .new(host, serv, *rest) ⇒ TCPSocket constructor
::IPSocket - Inherited
Instance Method Summary
- #original_resolv_initialize Internal use only
Constructor Details
.new(host, serv, *rest) ⇒ TCPSocket
# File 'lib/resolv-replace.rb', line 23
def initialize(host, serv, *rest) rest[0] = IPSocket.getaddress(rest[0]) if rest[0] original_resolv_initialize(IPSocket.getaddress(host), serv, *rest) end
Instance Method Details
#original_resolv_initialize
This method is for internal use only.
[ GitHub ]
# File 'lib/resolv-replace.rb', line 21
alias original_resolv_initialize initialize