# File lib/rabl.rb, line 59 def source_cache(file, view_path, &block) return yield unless Rabl.configuration.cache_sources cache_key = [file, view_path].compact.join(":") @_source_cache ||= {} @_source_cache[cache_key] ||= yield end