Class: Resolv::DNS::Requester::ConnectedUDP::Sender
- Defined in:
- lib/resolv.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
Methods inherited from Sender
Constructor Details
This class inherits a constructor from Resolv::DNS::Requester::Sender
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
836 837 838 |
# File 'lib/resolv.rb', line 836 def data @data end |
Instance Method Details
#send ⇒ Object
832 833 834 835 |
# File 'lib/resolv.rb', line 832 def send raise "@sock is nil." if @sock.nil? @sock.send(@msg, 0) end |