Class: Ellen::Handlers::Ping
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
actions, #call, inherited, #initialize, on
Constructor Details
This class inherits a constructor from Ellen::Handlers::Base
Instance Method Details
#ping(message) ⇒ Object
6 7 8 |
# File 'lib/ellen/handlers/ping.rb', line 6 def ping() robot.say .body[-4..-1].gsub(/i/i, "i" => "o", "I" => "O") end |