module Sprockets::SassProcessor::Functions

def asset_data_url(path)

Returns a Sass::Script::String.

path - Sass::Script::String logical asset path

Public: Generate a data URI for asset path.
def asset_data_url(path)
  url = sprockets_context.asset_data_uri(path.value)
  ::Sass::Script::String.new("url(" + url + ")")
end