class Redis

def ltrim(key, start, stop)

Returns:
  • (String) - `OK`

Parameters:
  • stop (Fixnum) -- stop index
  • start (Fixnum) -- start index
  • key (String) --
def ltrim(key, start, stop)
  synchronize do |client|
    client.call [:ltrim, key, start, stop]
  end
end