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

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#data ⇒ Object (readonly)

Returns the value of attribute data.



1035
1036
1037
# File 'lib/resolv.rb', line 1035

def data
  @data
end

Instance Method Details

#send ⇒ Object



1031
1032
1033
1034
# File 'lib/resolv.rb', line 1031

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