JezK
Edit File: cache%21-i.ri
U:RDoc::AnyMethod[iI"cache!:EFI"JbuilderTemplate#cache!;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"gCaches the json constructed within the block passed. Has the same signature as the `cache` helper ;TI"Umethod in `ActionView::Helpers::CacheHelper` and so can be used in the same way.;To:RDoc::Markup::BlankLine o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"<json.cache! ['v1', @person], expires_in: 10.minutes do ;TI"* json.extract! @person, :name, :age ;TI"end;T:@format0: @fileI"&lib/jbuilder/jbuilder_template.rb;T:0@omit_headings_from_table_of_contents_below00I" self;T[ I"(key=nil, options={});T@FI"JbuilderTemplate;TcRDoc::NormalClass00