Method: Redis::Distributed#smove

Defined in:
lib/redis/distributed.rb

#smove(source, destination, member) ⇒ Object

Move a member from one set to another.



605
606
607
608
609
# File 'lib/redis/distributed.rb', line 605

def smove(source, destination, member)
  ensure_same_node(:smove, [source, destination]) do |node|
    node.smove(source, destination, member)
  end
end