File: //usr/local/rvm/gems/ruby-3.0.2/doc/sprockets-4.0.2/ri/Sprockets/Context/asset_data_uri-i.ri
U:RDoc::AnyMethod[iI"asset_data_uri:ETI"&Sprockets::Context#asset_data_uri;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KReturns a `data:` URI with the contents of the asset at the specified ;TI"Cpath, and marks that path as a dependency of the current file.;To:RDoc::Markup::BlankLine o;
; [I"NUses URI encoding for SVG files, base64 encoding for all the other files.;T@o;
; [I"AUse `asset_data_uri` from ERB with CSS or JavaScript assets:;T@o:RDoc::Markup::Verbatim; [I"A#logo { background: url(<%= asset_data_uri 'logo.png' %>) }
;TI"
;TI"A$('<img>').attr('src', '<%= asset_data_uri 'avatar.jpg' %>');T:@format0:
@fileI"lib/sprockets/context.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(path);T@FI"Context;TcRDoc::NormalClass00