Class: Resolv::DNS::Requester::TCP::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
886 887 888 |
# File 'lib/resolv.rb', line 886 def data @data end |
Instance Method Details
#send ⇒ Object
882 883 884 885 |
# File 'lib/resolv.rb', line 882 def send @sock.print(@msg) @sock.flush end |