# File lib/multi_json/adapter.rb, line 42 def cache(method, options) cache_key = [self, options].map(&:hash).join + method MultiJson.cached_options[cache_key] ||= yield end