lib/figgy.rb in figgy-0.9.1 vs lib/figgy.rb in figgy-1.0.0
- old
+ new
@@ -40,9 +40,13 @@
if @config.preload?
@finder.all_key_names.each { |key| @store.get(key) }
end
end
+ def [](key)
+ @store.get(key)
+ end
+
def method_missing(m, *args, &block)
@store.get(m)
end
def inspect