# File lib/less/rails/helpers.rb, line 41 def asset_data_url(path) "url(#{scope.asset_data_uri(path)})" end
# File lib/less/rails/helpers.rb, line 45 def asset_path(asset) public_path(asset).inspect end
# File lib/less/rails/helpers.rb, line 49 def asset_url(asset) "url(#{public_path(asset)})" end
# File lib/less/rails/helpers.rb, line 69 def audio_path(audio) scope.audio_path(audio).inspect end
# File lib/less/rails/helpers.rb, line 73 def audio_url(audio) "url(#{scope.audio_path(audio)})" end
# File lib/less/rails/helpers.rb, line 93 def font_path(font) if scope.respond_to?(:font_path) scope.font_path(font).inspect else asset_path(font) end end
# File lib/less/rails/helpers.rb, line 101 def font_url(font) if scope.respond_to?(:font_path) "url(#{scope.font_path(font)})" else asset_url(font) end end
# File lib/less/rails/helpers.rb, line 53 def image_path(img) scope.image_path(img).inspect end
# File lib/less/rails/helpers.rb, line 57 def image_url(img) "url(#{scope.image_path(img)})" end
# File lib/less/rails/helpers.rb, line 77 def javascript_path(javascript) scope.javascript_path(javascript).inspect end
# File lib/less/rails/helpers.rb, line 81 def javascript_url(javascript) "url(#{scope.javascript_path(javascript)})" end
# File lib/less/rails/helpers.rb, line 85 def stylesheet_path(stylesheet) scope.stylesheet_path(stylesheet).inspect end
# File lib/less/rails/helpers.rb, line 89 def stylesheet_url(stylesheet) "url(#{scope.stylesheet_path(stylesheet)})" end
Generated with the Darkfish Rdoc Generator 2.