# File lib/sprockets/sass_functions.rb, line 5 def asset_path(path) Sass::Script::String.new(sprockets_context.asset_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 9 def asset_url(path) Sass::Script::String.new("url(" + sprockets_context.asset_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 29 def audio_path(path) Sass::Script::String.new(sprockets_context.audio_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 33 def audio_url(path) Sass::Script::String.new("url(" + sprockets_context.audio_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 37 def font_path(path) Sass::Script::String.new(sprockets_context.font_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 41 def font_url(path) Sass::Script::String.new("url(" + sprockets_context.font_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 13 def image_path(path) Sass::Script::String.new(sprockets_context.image_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 17 def image_url(path) Sass::Script::String.new("url(" + sprockets_context.image_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 45 def javascript_path(path) Sass::Script::String.new(sprockets_context.javascript_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 49 def javascript_url(path) Sass::Script::String.new("url(" + sprockets_context.javascript_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 53 def stylesheet_path(path) Sass::Script::String.new(sprockets_context.stylesheet_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 57 def stylesheet_url(path) Sass::Script::String.new("url(" + sprockets_context.stylesheet_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 21 def video_path(path) Sass::Script::String.new(sprockets_context.video_path(path.value), :string) end
# File lib/sprockets/sass_functions.rb, line 25 def video_url(path) Sass::Script::String.new("url(" + sprockets_context.video_path(path.value) + ")") end
# File lib/sprockets/sass_functions.rb, line 62 def sprockets_context options[:sprockets][:context] end
# File lib/sprockets/sass_functions.rb, line 66 def sprockets_environment options[:sprockets][:environment] end