# File lib/rabl/engine.rb, line 216 def cache(key = nil, options = {}) key ||= root_object # if called but missing, use object @_cache_key = key @_cache_options = options end