Module: Sprockets::SassFunctions

Defined in:
lib/sassc/functions.rb

Instance Method Summary collapse

Instance Method Details

#asset_data_url(path) ⇒ Object



6
7
8
# File 'lib/sassc/functions.rb', line 6

def asset_data_url(path)
  SassC::Script::String.new("url(" + sprockets_context.asset_data_uri(path.value) + ")")
end