Method: Redis::Distributed#select

Defined in:
lib/redis/distributed.rb

#select(db) ⇒ Object

Change the selected database for the current connection.



50
51
52
# File 'lib/redis/distributed.rb', line 50

def select(db)
  on_each_node :select, db
end