Class: Gem::Resolv::DNS::Requester::TCP::Sender

Inherits:
Sender
  • Object
show all
Defined in:
lib/rubygems/vendor/resolv/lib/resolv.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Sender

#initialize

Constructor Details

This class inherits a constructor from Gem::Resolv::DNS::Requester::Sender

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



936
937
938
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 936

def data
  @data
end

Instance Method Details

#sendObject



932
933
934
935
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 932

def send
  @sock.print(@msg)
  @sock.flush
end