Method: Oxblood::Commands::Sets#smove

Defined in:
lib/oxblood/commands/sets.rb

#smove(source, destination, member) ⇒ Integer

Move a member from one set to another

Parameters:

  • source (String)
  • destination (String)
  • member (String)

Returns:

  • (Integer)

    1 if the element is moved, or 0 if the element is not a member of source and no operation was performed

See Also:



102
103
104
# File 'lib/oxblood/commands/sets.rb', line 102

def smove(source, destination, member)
  run(:SMOVE, source, destination, member)
end