instance method
_cache_fragment_for
Ruby on Rails 2.10.2
Since v2.6.4 Last seen in v2.14.1 PrivateSignature
_cache_fragment_for(key, options, &block)
No documentation comment.
Parameters
-
keyreq -
optionsreq -
blockblock
Source
# File lib/jbuilder/jbuilder_template.rb, line 131
def _cache_fragment_for(key, options, &block)
key = _cache_key(key, options)
_read_fragment_cache(key, options) || _write_fragment_cache(key, options, &block)
end
Defined in lib/jbuilder/jbuilder_template.rb line 131
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in JbuilderTemplate