lib/blendris/list.rb in blendris-1.1 vs lib/blendris/list.rb in blendris-1.2
- old
+ new
@@ -50,8 +50,12 @@
redis.lrem key, 0, value
ensure
notify_changed
end
+ def count
+ redis.llen key
+ end
+
end
end
- old
+ new