lib/figgy.rb in figgy-1.0.0 vs lib/figgy.rb in figgy-1.1.0

- old
+ new

@@ -48,9 +48,15 @@ def method_missing(m, *args, &block) @store.get(m) end + def respond_to_missing?(m, *) + @store.get(m) != nil + rescue Figgy::FileNotFound + false + end + def inspect if @store.size > 0 key_names = @store.keys.sort "#<Figgy (#{@store.size} keys): #{key_names.join(' ')}>" else