Class: Sprinkles::Processor::Ping
- Inherits:
-
Object
- Object
- Sprinkles::Processor::Ping
- Defined in:
- lib/sprinkles/processor/ping.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) call(bot, origin, command, parameters)
4 5 6 7 8 |
# File 'lib/sprinkles/processor/ping.rb', line 4 def call(bot, origin, command, parameters) if command =~ /^PING$/ bot.("PONG :#{parameters}") end end |