lib/deepstream/list.rb in deepstream-0.2.0 vs lib/deepstream/list.rb in deepstream-0.2.1
- old
+ new
@@ -22,9 +22,13 @@
def remove(record_name)
set(@data) if @data.delete(record_name)
end
+ def keys
+ @data
+ end
+
def all
@data.map { |record_name| @client.get(record_name) }
end
end
end