Method: Redis::Commands::Pubsub#pubsub

Defined in:
lib/redis/commands/pubsub.rb

#pubsub(subcommand, *args) ⇒ Object

Inspect the state of the Pub/Sub subsystem. Possible subcommands: channels, numsub, numpat.


55
56
57
# File 'lib/redis/commands/pubsub.rb', line 55

def pubsub(subcommand, *args)
  send_command([:pubsub, subcommand] + args)
end