# File lib/rabl/cache_engine.rb, line 16 def fetch(key, cache_options, &block) if defined?(Rails) Rails.cache.fetch(key, cache_options, &block) else yield end end