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.
918 919 920 |
# File 'lib/resolv.rb', line 918 def data @data end |
Instance Method Details
#send ⇒ Object
914 915 916 917 |
# File 'lib/resolv.rb', line 914 def send @sock.print(@msg) @sock.flush end |