class ClamAV::Commands::PingCommand

Public Instance Methods

call(conn) click to toggle source
# File lib/clamav/commands/ping_command.rb, line 21
def call(conn)
  !!(/\d+: PONG/.match(conn.send_request("PING")))
end