lib/figgy.rb in figgy-1.1.0 vs lib/figgy.rb in figgy-1.2.0
- old
+ new
@@ -48,9 +48,13 @@
def method_missing(m, *args, &block)
@store.get(m)
end
+ def respond_to?(m, *)
+ super || respond_to_missing?(m)
+ end if RUBY_VERSION == "1.8.7"
+
def respond_to_missing?(m, *)
@store.get(m) != nil
rescue Figgy::FileNotFound
false
end