lib/redis/list.rb in redis-objects-0.2.4 vs lib/redis/list.rb in redis-objects-0.3.0
- old
+ new
@@ -60,10 +60,10 @@
range(index, length)
else
at(index)
end
end
-
+
# Delete the element(s) from the list that match name. If count is specified,
# only the first-N (if positive) or last-N (if negative) will be removed.
# Use .del to completely delete the entire key.
# Redis: LREM
def delete(name, count=0)
\ No newline at end of file