lib/steppy/cache.rb in steppy-0.6.0 vs lib/steppy/cache.rb in steppy-0.7.0
- old
+ new
@@ -22,7 +22,11 @@
end
def to_h
@mutex.synchronize { @hash }
end
+
+ def method_missing(method, *args, &block)
+ @mutex.synchronize { @hash.public_send(method, *args, &block) }
+ end
end
end