Class: ClamAV::Wrappers::NewLineWrapper
- Inherits:
-
ClamAV::Wrapper
- Object
- ClamAV::Wrapper
- ClamAV::Wrappers::NewLineWrapper
- Defined in:
- lib/clamav/wrappers/new_line_wrapper.rb
Instance Method Summary collapse
Methods inherited from ClamAV::Wrapper
Instance Method Details
#read_response(socket) ⇒ Object
26 27 28 |
# File 'lib/clamav/wrappers/new_line_wrapper.rb', line 26 def read_response(socket) read_until(socket, "\n") end |
#wrap_request(request) ⇒ Object
22 23 24 |
# File 'lib/clamav/wrappers/new_line_wrapper.rb', line 22 def wrap_request(request) "n#{request}\n" end |