Class: Gem::Resolv::DNS::Requester::ConnectedUDP::Sender
- Defined in:
- lib/rubygems/vendor/resolv/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 Gem::Resolv::DNS::Requester::Sender
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
868 869 870 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 868 def data @data end |
Instance Method Details
#send ⇒ Object
864 865 866 867 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 864 def send raise "@sock is nil." if @sock.nil? @sock.send(@msg, 0) end |