# File lib/sprockets/sass/functions.rb, line 26 def asset_path(source, options = {}) # Work with the Sass::Rails #asset_path API if options.respond_to? :value kind = options.value options = {} end if kind && sprockets_context.respond_to?("#{kind}_path") ::Sass::Script::String.new sprockets_context.send("#{kind}_path", source.value), :string else ::Sass::Script::String.new sprockets_context.asset_path(source.value, map_options(options)).to_s, :string end end