lib/squares/base.rb in squares-0.2.5 vs lib/squares/base.rb in squares-0.2.6
- old
+ new
@@ -72,9 +72,17 @@
end
alias_method :key?, :has_key?
alias_method :member?, :has_key?
alias_method :includes?, :has_key?
+ def keys
+ store.keys
+ end
+
+ def values
+ store.values
+ end
+
def delete id
store.delete id
end
def each &block