Sha256: 1ae44d21de8c349a6aa3c22ef3c0d9a386032c2c4a5cf36371600747fb71d3f1
Contents?: true
Size: 249 Bytes
Versions: 6
Compression:
Stored size: 249 Bytes
Contents
module Ellen module Handlers class Ping < Base on /ping\z/i, name: "ping", description: "Return PONG to PING" def ping(message) robot.say message.body[-4..-1].gsub(/i/i, "i" => "o", "I" => "O") end end end end
Version data entries
6 entries across 6 versions & 1 rubygems