Class: ClamAV::Commands::PingCommand
- Defined in:
- lib/clamav/commands/ping_command.rb
Instance Method Summary collapse
Instance Method Details
#call(conn) ⇒ Object
20 21 22 |
# File 'lib/clamav/commands/ping_command.rb', line 20 def call(conn) !!(/\d+: PONG/.match(conn.send_request("PING"))) end |